[MPlayer-dev-eng] Re: [PATCH] Add -mixer-channel option to specify mixer channel to use for volume control

Catalin Muresan catalin.muresan at astral.ro
Mon Jan 19 08:42:12 CET 2004


	ok, here is an attempt at writting a man entry line (attached).

On Fri, Jan 16, 2004 at 05:32:51PM -0300, Diego Biurrun wrote:
 > Alban Bedel writes:
 >  > on Sat, 10 Jan 2004 11:09:11 +0100 you wrote:
 >  > > On Mon, 10 Nov 2003 12:12:51 +0200
 >  > > Catalin Muresan <catalin.muresan at astral.ro> wrote:
 >  > > 
 >  > > 
 >  > > > 	I've made a patch to add -mixer-channel <channel> option to
 >  > > > 	mplayer
 >  > > > so i can control the volume while i watch TV with mplayer, but mplayer
 >  > > > does not use audio output for tv interface (i found out _after_ i made
 >  > > > the patch:( ) but here it is (attached, against 1.0pre2) if someone
 >  > > > wants it.  
 >  > > 
 >  > > Any comments about this patch ?
 >  > Looks ok to me. The doc squad probably like to get a man page entry too :)
 > 
 > Yes.
 > 
 > Diego

-- 
 Catalin Muresan
 ASTRAL Internet & Data
 Technology Manager
-------------- next part --------------
--- mplayer.1	Mon Jan 19 09:40:51 2004
+++ m.1	Mon Jan 19 09:39:24 2004
@@ -1456,6 +1456,15 @@
 .B \-mixer <device>
 This option will tell MPlayer to use a different device for mixing than
 /dev/\:mixer.
+.TP      
+.B \-mixer-channel <mixer line> (-ao oss only)
+This option will tell MPlayer to use a different channel for controlling
+volume than the default PCM. Options include
+.B vol, pcm, line.
+For a complete list of options look for SOUND_DEVICE_NAMES in
+.nh
+/usr/include/linux/soundcard.h.
+.hy
 .TP
 .B \-nowaveheader (-ao pcm only)
 Don't include wave header.


More information about the MPlayer-dev-eng mailing list