Update readme with instructions to change speaker

This commit is contained in:
Brandon Thomas committed 2019-09-11 00:53:11 -04:00
1 parent cbb9be2074
commit 737103239c
1 file changed
+22
+22
View File
@@ -57,3 +57,25 @@ Crates to try:
- PCM support
- 18/16/32/64 bit support
Hardware
--------
Enumerate hardware:
* `pactl list short sinks`
The linux headphone jack is named at startup:
* `speaker-test -t wav -c 6 -D front`
To change the 'default' speaker,
```
pactl list short sinks
pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
speaker-test -t wav -c 6 -D default
```
This makes the rust code work on Desktop.