Update AUDIO.md

This commit is contained in:
mayfrost 2018-07-11 10:38:54 +00:00 committed by GitHub
parent 06319c97bc
commit 0965c98520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,14 +12,16 @@ Here is how to get sound on a minimal install without the insanity of pulseaudio
`$ cat /proc/asound/modules` `$ cat /proc/asound/modules`
Here is an example of what you will see in __/proc/asound/modules__: Here is an example of what you will see in __/proc/asound/modules__:
`0 snd_usb_audio` ``` 0 snd_usb_audio
`1 snd_hda_intel` 1 snd_hda_intel
```
4. Select from the above and put them in the order you want in the file __/etc/modprobe.d/alsa-base.conf__, by assigning an index from -2 to 2, marking the preferred device as the lowest number. 4. Select from the above and put them in the order you want in the file __/etc/modprobe.d/alsa-base.conf__, by assigning an index from -2 to 2, marking the preferred device as the lowest number.
As an example if you have two devices and want the one that says usb because that is your headphone, on __/etc/modprobe.d/alsa-base.conf__ you will put: As an example if you have two devices and want the one that says usb because that is your headphone, on __/etc/modprobe.d/alsa-base.conf__ you will put:
`options snd_usb_audio enable=1 index=0` ``` options snd_usb_audio enable=1 index=0
`options snd_hda_intel index=1` options snd_hda_intel index=1
```
Notice the index. Notice the index.