SNDCTL_DSP_SAMPLESIZE

Bob Tracy - TDS (rct@tracy-tds.wlk.com)
Tue, 22 Oct 1996 15:41:38 -0500 (CDT)


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	|