[alsa-devel] Can ALSA invoke a Callback ?
26 Aug
2011
26 Aug
'11
4:24 p.m.
Hello,
I would like to know how I can ask ALSA to invoke a "Callback" function when an Midi event arrives from an extern-device.
Thanks Paolo
26 Aug
26 Aug
4:34 p.m.
Ru Vuott wrote:
I would like to know how I can ask ALSA to invoke a "Callback" function when an Midi event arrives from an extern-device.
This is not possible.
The mechanism usually used for this is to check for events from the MIDI device in the main message loop (which must be based on poll() or select()).
Are you using raw MIDI or sequencer devices? How does your program's event handling work?
Regards, Clemens
4867
Age (days ago)
4867
Last active (days ago)
1 comments
2 participants
participants (2)
-
Clemens Ladisch
-
Ru Vuott