PulseAudio on OpenWRT with MPD and other Stuff: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 171: | Line 171: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Some WTF? Holes One Can Fall Into === | ===Some WTF? Holes One Can Fall Into=== | ||
==== module-detect ==== | ====module-detect==== | ||
In /etc/pulse/system.pa load-module module-detect (Works great, but can also cause some unexpected issues) | In /etc/pulse/system.pa load-module module-detect (Works great, but can also cause some unexpected issues) | ||
Line 184: | Line 184: | ||
Experiments showed that even loading module-detect after module-alsa-sink still produces an error. So either module-detect always runs first OR module-detect doesn't check and see if an ALSA device is already loaded. | Experiments showed that even loading module-detect after module-alsa-sink still produces an error. So either module-detect always runs first OR module-detect doesn't check and see if an ALSA device is already loaded. | ||
=== Useful Commands for Testing (from a live file, hence the # Comment Tags) === | ==== module-native-protocol-unix ==== | ||
If the module-native-protocol-unix isn't loaded ( load-module module-native-protocol-unix ) then the PACTL Command won't work. | |||
The error will be: pa_context_connect() failed: Connection refused | |||
===Useful Commands for Testing (from a live file, hence the # Comment Tags)=== | |||
<nowiki>###</nowiki> Useful Commands for testing stuff; | <nowiki>###</nowiki> Useful Commands for testing stuff; | ||
Line 258: | Line 263: | ||
<nowiki>###</nowiki> /usr/bin/pulseaudio --system --disallow-exit --disable-shm --exit-idle-time=-1 --verbose --log-level=debug --log-target=stderr | <nowiki>###</nowiki> /usr/bin/pulseaudio --system --disallow-exit --disable-shm --exit-idle-time=-1 --verbose --log-level=debug --log-target=stderr | ||
<nowiki>###</nowiki> /usr/bin/pulseaudio --system --disallow-exit --disable-shm --exit-idle-time=-1 -vvvvvv --log-level=debug --log-target=stderr | |||
<nowiki>###</nowiki> | <nowiki>###</nowiki> |