[pulseaudio-discuss] Mono

Lennart Poettering lennart at poettering.net
Sat May 9 17:53:55 PDT 2009


On Wed, 29.04.09 11:16, Kevin Fox (Kevin.Fox at pnl.gov) wrote:

> 
> On Wed, 2009-04-29 at 10:41 -0700, Lennart Poettering wrote:
> > On Wed, 29.04.09 10:10, Kevin Fox (Kevin.Fox at pnl.gov) wrote:
> > 
> > > Hi Lennart,
> > >
> > > I'm playing around with the Fedora 11 preview. I see the Profile
> > > switcher in pavucontrol, but it only has these options:
> > > Output Analog Stereo + Input Analog Stereo
> > > Output Analog Stereo
> > > Input Analog Stereo
> > > Off
> > >
> > > What do I need to do to add Mono profiles?
> > 
> > Your card seems to be capable of stereo output/input only. You can use
> > module-remap-sink to create a virtual sink on top of this.
> 
> Not sure how to do this. Something like:
> load-module module-remap-sink sink_name=mono
> master=alsa_output.pci_8086_2445_sound_card_0 channels=1
> master_channel_map=front-left,front-right
> 
> Fails. I'm trying to mono the sound and play it back through both
> speakers.

Hmm, this should probably work:

load-module module-remap-sink sink_name=mono master=alsa_output.pci_8086_2445_sound_card_0 channels=2 channel_map=mono,mono

> > Or you can use module-alsa-sink on top of alsa's plughw and explicitly
> > configure a certain sample format.
> 
> Would this allow me to switch between mono and stereo though? It thought
> the alsa sink could only bind to one device?

That is ture. You couldn't switch back and forth that easily with that
setup.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list