Re: [oss-devel] How can I get the current sample rates.

2009-08-07 Thread Hannu Savolainen
Bo-liang Guan wrote: > Hi all > > I'd like to get the current sample rates. I know that the ioctl > "SNDCTL_DSP_SPEED" could > set the sample rates, but i can't find the ioctl to get the sample > rates. Can anybody tell me. > This is very simple. You should store the sample rate in a local varia

[oss-devel] How can I get the current sample rates.

2009-08-05 Thread Bo-liang Guan
Hi all I'd like to get the current sample rates. I know that the ioctl "SNDCTL_DSP_SPEED" could set the sample rates, but i can't find the ioctl to get the sample rates. Can anybody tell me. Thanks. ___ oss-devel mailing list oss-devel@mailman.opensound