lkml.org 
[lkml]   [1996]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectYet another PAS16 patch
Hi all PAS16 users,

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)


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.025 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site