LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Pulseaudio and more than 1 channel (http://www.linuxquestions.org/questions/linux-software-2/pulseaudio-and-more-than-1-channel-871134/)

acc_kc 03-26-2011 10:20 AM

Pulseaudio and more than 1 channel
 
Greetings,

I've decided to give PulseAudio a try and since it is working almost without any problems; the only problem I haven't been able to solve (even after some searching through the Internet) is this one:

At the moment I've got only 1 mixer channel for output, called Internal Audio Analog Stereo. Now this channel controls both the volume going to the integrated speakers of my notebook and to headphones as well. What I was trying to do is to separate those channels in the same way how ALSA does it without PulseAuio.

ALSA Situation without PulseAudio:
~ Master
~ Speaker
~ PCM
~ Front

ALSA with PulseAudio:
~ Master (controls everything)

I was hoping to use the Master and Speaker in PulseAudio. My attempts were unsuccessful, hopefully some of you will help me out here :).

Here are some tech data about my distro, ALSA, PulseAudio and sound card:

Linux Distro info + PulseAudio USE Flags:
Code:

Distro: Gentoo Linux

$ uname -srmp
Linux 2.6.37-tuxonice x86_64 Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz

$ eix pulseaudio
[I] media-sound/pulseaudio
...
    Installed versions:  0.9.22{tbz2}(15:01:38 03/26/11)(X alsa asyncns avahi caps dbus glib ipv6 lirc tcpd udev -bluetooth -doc -gnome -jack -libsamplerate -oss -realtime -system-wide -test)

Alsa build in-kernel, not as alsa-driver

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)

ALSA + PulseAudio:
Code:

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 25355 [39%] [on]
  Front Right: Playback 25355 [39%] [on]

ALSA:
Code:

$ amixer -c0 # only relevant channels pasted
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 32 [50%] [-24.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 252 [99%] [0.60dB]
  Front Right: Playback 252 [99%] [0.60dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]

The output of alsainfo can be found here: link

Thank you for any suggestions.

smoker 03-26-2011 02:49 PM

I realise you are using Gentoo, but there are several PulseAudio utilities available as you can see from the second code window in this post.

pavucontrol is probably the one you're after.

acc_kc 03-26-2011 04:51 PM

Oh, indeed.

Preforming ~amd64 update of the utility in question and restart of PulseAudio is all it took.
Thank you, this solved my problem.

Best,
ck


All times are GMT -5. The time now is 02:56 AM.