18 | | == Existing Desktop Test Setup == |
19 | | The easiest way of testing that a system is capable of forwarding and receiving sound is on a Posix system (Linux, BSD, etc) with an existing desktop environment running, and including a pulseaudio server. |
20 | | Check that pulseaudio is running: |
| 19 | == Test Sound Source Setup == |
| 20 | The easiest way of testing that a system is capable of forwarding and receiving sound is on a Posix system (Linux, BSD, etc). |
| 21 | 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: |
| 22 | {{{ |
| 23 | XPRA_SOUND_TEST=1 xpra start :10 |
| 24 | }}} |
| 25 | Then we can attach the client and start the speaker from the tray: |
| 26 | {{{ |
| 27 | xpra attach |
| 28 | }}} |
| 29 | Getting this far ensures that sound forwarding does work on this system, albeit from a fake source instead of pulseaudio. |
| 30 | |
| 31 | |
| 32 | == Using an existing pulseaudio server == |
| 33 | Next, we want to add pulseaudio, but without starting it ourselves, so we can simply re-use the existing server that gets started with most modern desktops. |
| 34 | [[BR]] |
| 35 | Check that pulseaudio is running in your Posix desktop: |
36 | | Getting this far should ensure that all the components are installed and enabled. |
37 | | |
38 | | == Test Sound Source Setup == |
39 | | Instead of using an existing pulseaudio server, one can use a test sound source by specifying this environment variable: |
40 | | {{{ |
41 | | XPRA_SOUND_TEST=1 xpra start ... |
42 | | }}} |
43 | | This allows you to actually start the sound forwarding from the same machine and the same user account, without needing to start a new pulseaudio server. The downside is that all you will hear is a test tone. |
44 | | Getting this far ensures that sound forwarding does work, albeit from a fake source instead of pulseaudio. |
| 51 | Getting this far should ensure that all the components are installed, enabled and that the xpra server found the pulseaudio device to connect to. |