* usage of snd_rawmidi_status_get_avail() [not found] <1582165206036581993-webhooks-bot@alsa-project.org> @ 2020-02-20 2:20 ` GitHub issues - edited 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - edited @ 2020-02-20 2:20 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was edited from MusicMaker: In non blocked raw MIDI, is snd_rawmidi_status_get_avail supposed to return the number of available bytes that can be read using a snd_rawmidi_read. (port is opened for read only) It seems get_avail always returns 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1582165218427489996-webhooks-bot@alsa-project.org>]
* usage of snd_rawmidi_status_get_avail() [not found] <1582165218427489996-webhooks-bot@alsa-project.org> @ 2020-02-20 2:20 ` GitHub issues - edited 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - edited @ 2020-02-20 2:20 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was edited from MusicMaker: In non blocked raw MIDI, is snd_rawmidi_status_get_avail supposed to return the number of available bytes that can be read using a snd_rawmidi_read. (port is opened for input only) It seems get_avail always returns 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1582165190266139030-webhooks-bot@alsa-project.org>]
* usage of snd_rawmidi_status_get_avail() [not found] <1582165190266139030-webhooks-bot@alsa-project.org> @ 2020-02-20 2:19 ` GitHub issues - edited 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - edited @ 2020-02-20 2:19 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was edited from MusicMaker: In non blocked raw MIDI, is snd_rawmidi_status_get_avail supposed to return the number of available bytes that can be read via snd_rawmidi_read. (port is opened for read only) It seems get_avail always returns 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1582165123128607035-webhooks-bot@alsa-project.org>]
* usage of snd_rawmidi_status_get_avail() [not found] <1582165123128607035-webhooks-bot@alsa-project.org> @ 2020-02-20 2:18 ` GitHub issues - edited 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - edited @ 2020-02-20 2:18 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was edited from MusicMaker: In non blocked raw MIDI, is snd_rawmidi_status_get_avail supposed to return the number of available bytes than can read via snd_rawmidi_read. (port is opened for read only) It seems get_avail always returns 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1582165079840311050-webhooks-bot@alsa-project.org>]
* usage of snd_rawmidi_status_get_avail() [not found] <1582165079840311050-webhooks-bot@alsa-project.org> @ 2020-02-20 2:18 ` GitHub issues - edited 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - edited @ 2020-02-20 2:18 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was edited from MusicMaker: In non blocked raw MIDI, is snd_rawmidi_status_get_avail supposed to return the number of available bytes than can read via snd_rawmidi_read. (port is opened for read only) It seems always return 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1582164934834173918-webhooks-bot@alsa-project.org>]
* usage of snd_rawmidi_status_get_avail() [not found] <1582164934834173918-webhooks-bot@alsa-project.org> @ 2020-02-20 2:15 ` GitHub issues - opened 0 siblings, 0 replies; 6+ messages in thread From: GitHub issues - opened @ 2020-02-20 2:15 UTC (permalink / raw) To: alsa-devel alsa-project/alsa-lib issue #26 was opened from MusicMaker: In non blocked raw MIDI mode, is snd_rawmidi_status_get_avail supposed to return the number of available bytes than can read via snd_rawmidi_read. (port is opened for read only) It seems always return 0 even there is MIDI data when using a read. Else is there a(nother) way to find the number of unread received bytes in the buffer? snd_rawmidi_status_alloca (&status); snd_rawmidi_status(client, status); snd_rawmidi_status_get_avail(status); Issue URL : https://github.com/alsa-project/alsa-lib/issues/26 Repository URL: https://github.com/alsa-project/alsa-lib ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-20 2:22 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1582165206036581993-webhooks-bot@alsa-project.org> 2020-02-20 2:20 ` usage of snd_rawmidi_status_get_avail() GitHub issues - edited [not found] <1582165218427489996-webhooks-bot@alsa-project.org> 2020-02-20 2:20 ` GitHub issues - edited [not found] <1582165190266139030-webhooks-bot@alsa-project.org> 2020-02-20 2:19 ` GitHub issues - edited [not found] <1582165123128607035-webhooks-bot@alsa-project.org> 2020-02-20 2:18 ` GitHub issues - edited [not found] <1582165079840311050-webhooks-bot@alsa-project.org> 2020-02-20 2:18 ` GitHub issues - edited [not found] <1582164934834173918-webhooks-bot@alsa-project.org> 2020-02-20 2:15 ` GitHub issues - opened
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.