Paul Davis wrote:
Well, i am not author of this program actually. It is xmms plugin allowing to use ALSA for sound output (alsa-xmms-0.9). I only wanted to modify it, to be able to use dmix. I see, that it is out of my abilities :-( and, so i will have to conctact the author of it and ask him to correct it. It is pitty, because it will take time (if they ever do it). I thought, that ALSA interface is not dependent on way, how it is opened (because the same code with "hw:0:0" instead of "default" worked perfectly) or did not i comprehend anything?. I would like to understant, why opening "hw:0:0" works and only replacing it by "default" does not. It seems to mee very dificult for developpers....Starting to open device ....
Opening user device: --default--
Xlib: unexpected async reply (sequence 0x963)!
your program uses threads, right? or it forks at some point? and your
alsa_error() function involves calls to GUI functions? this error is from
Xlib, it has nothing to do with ALSA. its caused by having multiple
threads/processes making GUI calls without user-space
synchronization. most toolkits recommend that you do not do this, and
instead use a single thread for all GUI calls. you also cannot share a
connection to an X server between two processes.
Thank you for all answers,
Dan
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel