I solved the sound problem in SqueezePlay by disabling pulseaudio while
squeezeplay runs. The following works for me on Ubuntu 11.10. 

I first copied /usr/share/alsa/alsa.conf to
/usr/share/alsa/alsa-nopulse.conf, so that is reads: 
Code:
--------------------
    sudo cp /usr/share/alsa/alsa.conf /usr/share/alsa/alsa-nopulse.conf
--------------------


Then I commented the line with "/usr/share/alsa/pulse.conf" (line 11)
in alsa-nopulse.conf: 
Code:
--------------------
    # "/usr/share/alsa/pulse.conf"
--------------------


Then there is a squeezeplay.sh script in the bin directory of
squeezeplay which you can use to start squeezeplay. Edit the last line
so it reads:
Code:
--------------------
    ALSA_CONFIG_PATH=/usr/share/alsa/alsa-nopulse.conf ./jive
--------------------


I also edited the file ~/.squeezeplay/userpath/settings/DesktopJive.lua
as described in
http://forums.slimdevices.com/showpost.php?p=674248&postcount=3 to
select the right audio device. I had to choose another device for the
alsaEffectsDevice because it claims the output device and then
alsaPlaybackDevice can't use it anymore. I have: 
Code:
--------------------
    settings = 
{mac="xx:xx:xx:xx:xx:xx",uuid="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",alsaSampleSize=24,alsaPlaybackDevice="plughw:0,0",alsaEffectsDevice="plughw:0,1"}
--------------------


The server now also transcodes 352.8kHz flacs correctly to 176.4Hz!


-- 
lauret
------------------------------------------------------------------------
lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=91834

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to