On Thu, 20 Mar 2003, [EMAIL PROTECTED] wrote: > I can't get my apps that use the OSS interface to > set my Delta44's sample rate aboave 96000. > > Native apps are fine. Has anyone gotten an OSS app > to set > 96k with OSS emulation?
Note that we limited the OSS API to 48kHz. This patch (I've commited it to CVS, too) should solve this problem. Index: pcm_oss.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_oss.c,v retrieving revision 1.32 diff -u -r1.32 pcm_oss.c --- pcm_oss.c 12 Mar 2003 12:14:03 -0000 1.32 +++ pcm_oss.c 20 Mar 2003 18:53:50 -0000 @@ -930,8 +930,8 @@ runtime = substream->runtime; if (rate < 1000) rate = 1000; - else if (rate > 48000) - rate = 48000; + else if (rate > 192000) + rate = 192000; if (runtime->oss.rate != rate) { runtime->oss.params = 1; runtime->oss.rate = rate; Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user