[Gambas-user] Release of Gambas 3 RC3. But I have a dream....

Benoît Minisini gambas at ...1...
Fri Sep 16 00:05:22 CEST 2011


> Hello Benoît,
> 
> well, I need to put "arbitrary" file descriptors in the Message Loop,
> ...like GTK and QT toolkit that already allow to do it.
> 
> These file descriptors (get from ALSA functions) can be used to wait for
> events from ALSA.
> 
> 
> bye
> Paolo
> 

With details I mean some source code.

Theoritically, if alsa returns to you the file descriptor X, you should be 
able to watch it by reopening "/dev/self/fd/X". But it may not work if the 
file descriptor is already opened, I don't know. I have never used alsa, and I 
have no code to test...

-- 
Benoît Minisini




More information about the User mailing list