On the Echoaudio cards the sample rate is a global setting, so I need a way
to prevent an app to change the rate if someone else already set it (the
card han several devices/subdevices). I was thinking to put a simple
"if (IsAudioOpen()) rate_min=rate_max=current_rate;" in pcm_open callback,
but this solution is racy. Also what am I supposed to do about external
clock ? I can't read its value and it teoretically can change at any moment.


--
Giuliano.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to