Please find enclosed two patches to the PAS16 driver which should fix the
problems in PAS16 playback using cat filename.au > /dev/audio. I have mailed
the first one to this list and some users earlier so don't be surprised
if it gets rejected.
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;
*** pas2_pcm.c.old Mon Jul 8 08:30:58 1996
--- pas2_pcm.c Mon Jul 8 08:32:12 1996
***************
*** 41,46 ****
--- 41,49 ----
int foo, tmp;
unsigned long flags;
+ if (arg == 0)
+ return pcm_speed;
+
if (arg > 44100)
arg = 44100;
if (arg < 5000)