Re: PAS16 and /dev/audio

Hannu Savolainen (hannu@voxware.pp.fi)
Mon, 8 Jul 1996 08:06:34 +0300 (EET DST)


Hi,

The following patch should/may fix the noise problem with PAS16. However
even after this patch the playback is propably too slow. I will continue
investicating the problem.

Best regards,

Hannu
-----------------------------
Hannu Savolainen (hannu@voxware.pp.fi, hannu@4front-tech.com)
http://personal.eunet.fi/pp/voxware/hannu.html (my home page)
http://www.4Front-Tech.com/uss.html (UNIX Sound System (USS))
http://personal.eunet.fi/pp/voxware (USS Lite/TASD/VoxWare)
------------- cut here ---------
*** pas2_pcm.c.old Sun Jul 7 21:07:14 1996
--- pas2_pcm.c Sun Jul 7 21:07:47 1996
***************
*** 127,132 ****
--- 127,135 ----
int
pcm_set_bits (int arg)
{
+ if (arg == 0)
+ return pcm_bits;
+
if ((arg & pcm_bitsok) != arg)
return pcm_bits;