On Oct 25, 2006, at 4:25 AM, Clemens Ladisch wrote:
The function enters into an infinite while{} which bombards alsa with events. No relevant variables go out of scope. int i=1; while (1) { event.data.note.note = i; snd_seq_event_output( our_parcel->seq, &event ); snd_seq_drain_output( our_parcel->seq ); printf("sleep\n"); sleep(1); i++; if (i > 127) i = 1; }
Hmmm...I'm not sure you what you mean here. Is there a function i can call to block the thread until ALSA has delivered the events? How exactly is the Queue destroyed? thanks, -paul santa clara |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel