lkml.org 
[lkml]   [1996]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSNDCTL_DSP_SAMPLESIZE
Date
Thanks for the patch for the patmgr.c compilation problem!  Got
another one...

"sox" calls ioctl(fileno(ft->fp), SNDCTL_DSP_SAMPLESIZE, &tmp)
and it appears that ossfree37-beta4 defines SNDCTL_DSP_SAMPLESIZE
to be equivalent to SNDCTL_DSP_SETFMT. Unfortunately, this
results in falling through to the device-specific ioctl() routine
which simply returns -EINVAL for the Sound Blaster family of cards.

SNDCTL_DSP_SAMPLESIZE used to result in a call to the device-
specific set_bits() routine, which would still produce the desired
result in ossfree37-beta4.

--
Bob Tracy | "Computers save time like kudzu prevents
AFIWC/AFCERT | soil erosion." -- Al Castanoli
rct@merkin.csap.af.mil |

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