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 Version 1 and Version 2 of Sound/Debugging


Ignore:
Timestamp:
11/16/15 08:35:03 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Sound/Debugging

    v1 v2  
    2828* {{{./xpra/sound/src.py}}} will dump the sound coming from the pulseaudio server to a file until interrupted (named {{{Sound_Record.exe}}} on MS Windows)
    2929* {{{./xpra/sound/sink.py}}} will play a sound file until interrupted - a "cheap mp3 player" ({{{Sound_Play.exe}}} on MS Windows)
    30 }}}
    31 
    32 
    33 {{{#!div class="box"
    34 == Test Sound Source Setup ==
    35 The easiest way of testing that a system is capable of forwarding and receiving sound is on a Posix system (Linux, BSD, etc).
    36 Using the {{{XPRA_SOUND_TEST}}} environment variable, we can instruct the xpra server to use a fake sound source instead of hooking into a pulseaudio server (which we do not have to / want to start, yet):
    37 {{{
    38 XPRA_SOUND_TEST=1 xpra start :10 --no-pulseaudio
    39 }}}
    40 Then we can just attach the client from the same system:
    41 {{{
    42 xpra attach
    43 }}}
    44 You should then hear a constant (rather annoying) tone.
    45 Getting this far ensures that sound forwarding does work on this system, albeit from a fake source instead of a pulseaudio server.
    4630}}}
    4731