xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #363


Ignore:
Timestamp:
07/01/13 13:20:41 (8 years ago)
Author:
Antoine Martin
Comment:

I don't really know how we can get this information, does this do what you want:

$ pactl info | grep "Default Sink"
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo

If so, I guess we could use that easily enough.


Please note however that what you are doing is a little bit odd here: you seem to be using an existing pulseaudio daemon (the one from an existing X11 session presumably) as the pa daemon for an xpra session (which may well be displayed remotely)... normally, you would start a dedicated pa daemon for your xpra session (which is not easy to do if you already have an X11 session for that user.. but that's another matter)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #363

    • Property Priority changed from major to minor
    • Property Status changed from new to assigned
    • Property Component changed from core to server
    • Property Milestone changed from to 0.10
  • Ticket #363 – Description

    initial v1  
    11if there's more than one output device, only the first one is monitored.  If it's not the default, then no sound is heard.
     2
     3[[BR]]
    24
    35Would it be possible to add a way to choose which output device to monitor.  Maybe choose the default one, if pulse allows?
    46
    57{{{
    6 2013-07-01 12:58:26,523 using sound codec mp3
    7 2013-07-01 12:58:26,540 found more than one monitor device: {'alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3.monitor': 'Monitor of GF108 High Definition Audio Controller Digital Stereo (HDMI)', 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor': 'Monitor of Built-in Audio Analog Stereo'}
    8 2013-07-01 12:58:26,540 using: Monitor of GF108 High Definition Audio Controller Digital Stereo (HDMI)
    9 2013-07-01 12:58:26,542 starting sound using pulseaudio device alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3.monitor
    10 2013-07-01 12:58:26,553 codec: MPEG-1 Layer 3 (MP3)
     8using sound codec mp3
     9found more than one monitor device: { \
     10   'alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3.monitor': 'Monitor of GF108 High Definition Audio Controller Digital Stereo (HDMI)', \
     11    'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor': 'Monitor of Built-in Audio Analog Stereo'}
     12using: Monitor of GF108 High Definition Audio Controller Digital Stereo (HDMI)
     13starting sound using pulseaudio device alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3.monitor
     14codec: MPEG-1 Layer 3 (MP3)
    1115}}}