I cannot ever seem to get a return value of 1. I always get return values of 0, regardless of the timeout value. Can anyone help me?
Cheers James
Extract from documentation: -
int snd_pcm_wait ( snd_pcm_t * pcm,
int timeout
)
Wait for a PCM to become ready.
Parameters:
pcm PCM handle
timeout maximum time in milliseconds to waitReturns:
a positive value on success otherwise a negative error codeReturn values:
0 timeout occurred
1 PCM stream is ready for I/OExamples:
/test/latency.c, and /test/pcm.c.------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
