[MPlayer-dev-eng] to mute or not to mute
alex at fsn.hu
Sun Jan 16 20:30:29 CET 2005
> > I just had a discussion with a friend about muting in MPlayer.
> > His problem was, that he wanted to listen to a radio stream for
> > a short time, while MPlayer was still playing. The current
> > code sets the master channel to 0, thus completely disabling any
> > audio. He wrote for himself a little patch that sets the audio
> > data to zero instead of playing with the mixer (see the attached
> > file). Although this is an ugly hack, it shows where the problem
> > lies.
> > Does anyone have a better idea how to fix this problem ?
> an audio filter maybe?
I would better close the audio device for the mute, so it could be used
on old/lame systems/drivers where it accepts only one channel. On
oss dmasound i can playback one stream at a time, so with mute closing
the device would make this better.
Alex Beregszaszi e-mail: alex at fsn.hu
Free Software Network cell: +36 70 3144424
More information about the MPlayer-dev-eng