Skip to contentSkip to conversation

Can ALSA invoke a Callback ?

DISCUSSION Clemens Ladisch 1 participant 1 message Sep 2, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Ru Vuott

hData = OPEN "/dev/snd/midiC2D0" for READ Watch

Do you think this solution could interfere and give problems to ALSA ?

Yes; this opens the device exclusively. The ALSA sequencer would be able to allow multiple applications.

Quoted 1 line

The rest of my program (for sending midi event, etcetera) continue to use ALSA.

How are you using ALSA from Gambas? Is there some ALSA module that could be extended to ALSA watches?

Regards,
Clemens