You are not logged in.
Pages: 1
Topic closed
Hello fellow archers!
I'm trying to have to separate sinks so that I am able to route some applications to my speakers, using the audio jacks from the back of my case, while other apps should play in my headphones using the jack from the front panel.
Right now what I hear in the speakers(back) I also hear in my headphones (front)
I have pulse audio installed and I tried this Splitting front/rear from the wiki.
So in my /etc/pulse/default.pa I added:
load-module module-remap-sink sink_name=speakers remix=no master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right
load-module module-remap-sink sink_name=headphones remix=no master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 master_channel_map=rear-left,rear-right channel_map=front-left,front-right
Running pacmd list-sinks lists this:
Welcome to PulseAudio! Use "help" for usage information.
>>> 3 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: 0: 58% 1: 58%
0: -14.00 dB 1: -14.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 12.46 ms
max request: 2 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 2
configured latency: 13.33 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 4
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC887-VD Analog"
alsa.id = "ALC887-VD Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 45"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Intel PantherPoint HDMI"
alsa.components = "HDA:10ec0887,1458a002,00100302 HDA:80862806,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output>
index: 1
name: <speakers>
driver: <module-remap-sink.c>
flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 1000
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 12.19 ms
max request: 2 KiB
max rewind: 344 KiB
monitor source: 2
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 13.33 ms; range is 0.50 .. 2000.00 ms
module: 25
properties:
device.master_device = "alsa_output.pci-0000_00_1b.0.analog-stereo"
device.class = "filter"
device.description = "Remapped Built-in Audio Analog Stereo"
device.icon_name = "audio-card"
index: 2
name: <headphones>
driver: <module-remap-sink.c>
flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 2 KiB
max rewind: 344 KiB
monitor source: 3
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 26
properties:
device.master_device = "alsa_output.pci-0000_00_1b.0.analog-stereo"
device.class = "filter"
device.description = "Remapped Built-in Audio Analog Stereo"
device.icon_name = "audio-card"
Now when I route vlc to play on the remapped sink, speakers, it's the same as before: I hear the same thing in my speakers and my headphones.
When I route vlc to play on the second remapped sink, headphones, I hear nothing at all, neither in my speakers or my headphones.
other info:
$lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
What am I doing wrong ?
Offline
hmmm ... can't believe no one uses this or no one knows how to handle it
Offline
anyone ?
Offline
I've got the same problem... Did you find the solution?
Thanks
Offline
Can't get it to work either, but it is not too important for me.
Last edited by progandy (2013-09-13 16:24:26)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Just to confirm, you are sure the front and rear jacks are capable of working simultaneously, right? Because not all audio controllers allow this.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I wasn't able to find a solution for this under Arch.
It's working under Win 7 though ... but i'm 95% of the time under arch...
Offline
Hello fellow archers!
I'm trying to have to separate sinks so that I am able to route some applications to my speakers, using the audio jacks from the back of my case, while other apps should play in my headphones using the jack from the front panel.
Right now what I hear in the speakers(back) I also hear in my headphones (front)
I have pulse audio installed and I tried this Splitting front/rear from the wiki.Now when I route vlc to play on the remapped sink, speakers, it's the same as before: I hear the same thing in my speakers and my headphones.
When I route vlc to play on the second remapped sink, headphones, I hear nothing at all, neither in my speakers or my headphones.What am I doing wrong ?
I am having the exact same issue with my speaker/headset configuration.
Either sound on both devices (headset and speakers),
or no sound (even though pavucontrol shows some activity).
Anyone found any solution yet?
Offline
I'm really wondering why nobody has found a solution to this. I'm hanging on the same thing and it is annoying.
It should just be some port splitting into two sinks, but I just can't find any solution. Maybe there is missing support for this from pulseaudio?
Just to be clear:
One sink in pulseaudio, stereo configuration, 2 ports listed (with list-sinks): analog-output-lineout and analog-output-headphones
With alsamixer, I can change the volume of lineout and headphones separately, so there must be some way to split it in pulseaudio, too.
Offline
sorry for thread necro but could someone please provide a solution to this and maybe also post this on the wiki?
Offline
has anyone found a solution to this i have the same problem. im using Arch Linux with KDE Plasma Desktop. from the terminal i can switch between the 2 ports from terminal just fine by these commands
pacmd set-sink-port 1 analog-output-lineout
or this
pacmd set-sink-port 1 analog-output-headphones
i have also added these 2 lines in
"/etc/pulse/default.pa"
load-module module-remap-sink sink_name=speakers sink_properties="device.description='Speakers'" remix=no master=alsa_output.pci-0000_00_1f.3.analog-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right
load-module module-remap-sink sink_name=headphones sink_properties="device.description='Headphones'" remix=no master=alsa_output.pci-0000_00_1f.3.analog-stereo channels=2 master_channel_map=rear-left,rear-right channel_map=front-left,front-right
is there a way to specify these 2 sinks that i created by adding these lines, to control a specific port
like
Speakers controls = pacmd set-sink-port 1 analog-output-lineout
Headphones controls = pacmd set-sink-port 1 analog-output-headphones
Offline
Final warning, stop doing that.
https://wiki.archlinux.org/index.php/Co … bumping%22
You have your own thread that is active, stay in there.
Closing.
Offline
Pages: 1
Topic closed