Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: joerg
Date: Mon Jun 11 13:05:47 UTC 2007
Modified Files:
src/lib/libossaudio: ossaudio.c
src/share/man/man4: audio.4
src/sys/compat/ossaudio: ossaudio.c
src/sys/dev: audio.c
src/sys/sys: audioio.h
Log Message:
Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.
This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.
Review and comments from jmcneill@
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/lib/libossaudio/ossaudio.c
cvs rdiff -r1.65 -r1.66 src/share/man/man4/audio.4
cvs rdiff -r1.55 -r1.56 src/sys/compat/ossaudio/ossaudio.c
cvs rdiff -r1.221 -r1.222 src/sys/dev/audio.c
cvs rdiff -r1.31 -r1.32 src/sys/sys/audioio.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index