Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio: simultaneous output to both front and back
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sun Sep 14, 2014 12:19 pm    Post subject: Pulseaudio: simultaneous output to both front and back Reply with quote

Hello!

I have a Xonar DX soundcard. The audio is configured in simple, stereo mode.
For now, I can only switch between front and back panel output using alsamixer as user I mute or unmute FrontPanel section.
It would be nice to be able to hear the same sound from both sources - speakers and headphones - for skype conversations, but I am unable to configure pulseaudio to do that. Using paprefs I enabled simultaneous output but no change.
Any help would be appreciated.

Code:
>>> list-cards 
1 card(s) available.
    index: 0
   name: <alsa_card.pci-0000_02_04.0>
   driver: <module-alsa-card.c>
   owner module: 6
   properties:
      alsa.card = "0"
      alsa.card_name = "Xonar DX"
      alsa.long_card_name = "Asus Virtuoso 100 at 0xe000, irq 24"
      alsa.driver_name = "snd_virtuoso"
      device.bus_path = "pci-0000:02:04.0"
      sysfs.path = "/devices/pci0000:00/0000:00:02.1/0000:01:00.0/0000:02:04.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "13f6"
      device.vendor.name = "C-Media Electronics Inc"
      device.product.id = "8788"
      device.product.name = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX))"
      device.string = "0"
      device.description = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX))"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   profiles:
      input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
      input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
      output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
      output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
      output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
      output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
      output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
      output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
      output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
      output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
      output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
      output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
      output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
      output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
      output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
      output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
      output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
      output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
      output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
      output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
      output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
      output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
      output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
      off: Off (priority 0, available: unknown)
   active profile: <output:analog-stereo+input:analog-stereo>
   sinks:
      alsa_output.pci-0000_02_04.0.analog-stereo/#18: CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Analog Stereo
   sources:
      alsa_output.pci-0000_02_04.0.analog-stereo.monitor/#23: Monitor of CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Analog Stereo
      alsa_input.pci-0000_02_04.0.analog-stereo/#30: CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Analog Stereo
   ports:
      analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
         properties:
            
      analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
         properties:
            
      iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
         properties:
            
      iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
         properties:

list-sinks
1 sink(s) available.
  * index: 18
   name: <alsa_output.pci-0000_02_04.0.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
   state: RUNNING
   suspend cause:
   priority: 9059
   volume: front-left: 36063 /  55% / -15,57 dB,   front-right: 36063 /  55% / -15,57 dB
           balance 0,00
   base volume: 65536 / 100% / 0,00 dB
   volume steps: 65537
   muted: no
   current latency: 540,76 ms
   max request: 1023 KiB
   max rewind: 1024 KiB
   monitor source: 23
   sample spec: s32le 2ch 192000Hz
   channel map: front-left,front-right
                Stereo
   used by: 1
   linked by: 1
   configured latency: 682,67 ms; range is 0,50 .. 682,67 ms
   card: 0 <alsa_card.pci-0000_02_04.0>
   module: 6
   properties:
      alsa.resolution_bits = "24"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "Multichannel"
      alsa.id = "Multichannel"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "Xonar DX"
      alsa.long_card_name = "Asus Virtuoso 100 at 0xe000, irq 24"
      alsa.driver_name = "snd_virtuoso"
      device.bus_path = "pci-0000:02:04.0"
      sysfs.path = "/devices/pci0000:00/0000:00:02.1/0000:01:00.0/0000:02:04.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "13f6"
      device.vendor.name = "C-Media Electronics Inc"
      device.product.id = "8788"
      device.product.name = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX))"
      device.string = "front:0"
      device.buffering.buffer_size = "1048576"
      device.buffering.fragment_size = "1048576"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Analog Stereo"
      device.description = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Analog Stereo"
      alsa.mixer_name = "AV200"
      alsa.components = "CS4398 CS4362A CS5361 AV200"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"

_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Sun Sep 14, 2014 5:27 pm    Post subject: Reply with quote

I don't know how well these instructions are, but doing a quick search; this site may be some help for you. https://wiki.archlinux.org/index.php/PulseAudio/Examples.

In short, what you need to do; is first set either your speakers or headphones as the default sink (sinks in pulseaudio is outputs, sources are what generated the sound). After that, you have it load up the second sink. Then; have it combine that with the default (specifing a name).

According to the documentation I can find, after doing this, pulse audio should list a new sound card (output) for the combined outputs. If you want the combined output, you should be able to set skype to the the new combined sound card, while the rest of the system is using the regular default. Otherwise you can have pulse set the combined as the default for the entire system.
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sun Sep 14, 2014 5:50 pm    Post subject: Reply with quote

ct85711 wrote:
In short, what you need to do; is first set either your speakers or headphones as the default sink (sinks in pulseaudio is outputs, sources are what generated the sound). After that, you have it load up the second sink. Then; have it combine that with the default (specifing a name).


Well, that's the problem :) I have only one sink available. And that source it's for speakers. Outside pulseaudio, using alsamixer, if I unmute Front panel that sink it's redirected to speakers. So no second sink to play with :(
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Mon Sep 29, 2014 9:02 am    Post subject: Reply with quote

Well, I solved the problem in hardware. I'm using a jack splitter :D
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum