summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/feeder_rate.c
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-07-31 16:08:03 +0000
committernetchild <netchild@FreeBSD.org>2005-07-31 16:08:03 +0000
commit8a757cf4981fe5a5c672907593f21538b1fc3d44 (patch)
treec50b4b2e22b53fa42c64a45377c91ce54d5ceabe /sys/dev/sound/pcm/feeder_rate.c
parent5c126adf7d4cd9ff14c418a795a861ab9f198df1 (diff)
downloadFreeBSD-src-8a757cf4981fe5a5c672907593f21538b1fc3d44.zip
FreeBSD-src-8a757cf4981fe5a5c672907593f21538b1fc3d44.tar.gz
OSS defines AFMT_x32_xE as:
1) 32bit data, packed within 32bit (4bytes) boundary. 2) 24bit data, packed within 32bit (4bytes) boundary where the data is stored in the 24 most significant bits and least significant 8 bits are not used and should be set to 0. While this might hold true in few cases, lots of applications (notably mplayer, sweep) really deal / produce 24bit as what they should meant to be: 24bit data / 3bytes per sample. To handle this "true" 24bit pcm format add AFMT_x24_xE, so the in-kernel conversion space did not confuse itself with 32bit variant. You need to rebuild mplayer after installing this change (this header and the upcomming kernel changes), if you want to use this new feature. Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Tested by: multimedia@
Diffstat (limited to 'sys/dev/sound/pcm/feeder_rate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud