PulseAudio on OpenWRT with MPD and other Stuff: Difference between revisions
mNo edit summary |
|||
| Line 61: | Line 61: | ||
There's a bunch of stuff about Cookies (one of PulseAudio's security methods), anonymous authentication, etc., but this is the simplest and works without changing PulseAudio's default configuration. | There's a bunch of stuff about Cookies (one of PulseAudio's security methods), anonymous authentication, etc., but this is the simplest and works without changing PulseAudio's default configuration. | ||
=== Surround Sound === | ===Surround Sound=== | ||
First thing to do is this, enable or put this item in the /etc/pulse/default.conf file: <code>default-sample-channels = 6</code> | First thing to do is this, enable or put this item in the /etc/pulse/default.conf file: <code>default-sample-channels = 6</code> | ||
| Line 105: | Line 105: | ||
*...and just as a note, stopping and starting pulseaudio has the net effect of re-reading the /etc/asound.conf file. | *...and just as a note, stopping and starting pulseaudio has the net effect of re-reading the /etc/asound.conf file. | ||
*...and pkill -9 pulseaudio (works great if the process is 'stuck', and don't forget okpg install procps-ng-pkill) | *...and pkill -9 pulseaudio (works great if the process is 'stuck', and don't forget okpg install procps-ng-pkill) | ||
/usr/share/pulseaudio/alsa-mixer/paths/ : Path to ALSAMIXER settings (yup, PulseAudio is in the path!) | |||
/proc/asound/card0/usbmixer : possible location where ALSAMIXER gets names for different controls | |||
alsactl<span> </span>: Good for testing basic sound device settings (Top Tip: By default, for whatever reason, the "state" (AKA stored configuration) Directory (/var/lib/alsa) does not exist, so create it. | alsactl<span> </span>: Good for testing basic sound device settings (Top Tip: By default, for whatever reason, the "state" (AKA stored configuration) Directory (/var/lib/alsa) does not exist, so create it. | ||
| Line 123: | Line 127: | ||
alsamixer: shows a text GUI of controls | alsamixer: shows a text GUI of controls | ||
cat /sys/kernel/debug/usb/devices : shows details about various USB Devices | |||
aplay -l<span> </span>: shows list of sound devices | aplay -l<span> </span>: shows list of sound devices | ||