Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src



Module Name:    src
Committed By:   liamjfoy
Date:           Tue Jun 12 10:11:08 UTC 2007

Modified Files:
        src/lib/libossaudio [netbsd-4]: ossaudio.c
        src/share/man/man4 [netbsd-4]: audio.4
        src/sys/compat/ossaudio [netbsd-4]: ossaudio.c
        src/sys/dev [netbsd-4]: audio.c
        src/sys/sys [netbsd-4]: audioio.h

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #716):
        share/man/man4/audio.4: revision 1.66
        sys/compat/ossaudio/ossaudio.c: revision 1.56
        sys/sys/audioio.h: revision 1.32
        lib/libossaudio/ossaudio.c: revision 1.21
        sys/dev/audio.c: revision 1.222
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.20.4.1 src/lib/libossaudio/ossaudio.c
cvs rdiff -r1.65 -r1.65.6.1 src/share/man/man4/audio.4
cvs rdiff -r1.53 -r1.53.6.1 src/sys/compat/ossaudio/ossaudio.c
cvs rdiff -r1.215.2.1 -r1.215.2.2 src/sys/dev/audio.c
cvs rdiff -r1.31 -r1.31.8.1 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