Richard
Richard Titmuss wrote:
Sorry for the slow reply.
No problem. Thanks for helping.
What audio mixer are you using with Softsqueeze (look in the Softsqueeze preferences). The 'Java Sound Audio Engine' has a significant delay, about 0.5 seconds. To get sync working on Linux you need to be using an ALSA device driver.
OK, I've changed this and the behaviour is now different (not fixed, but different in a potentially interesting way... see further below).
I *was* using the Java Sound Audio Engine. Now I'm using a mixer from the drop-down list in Softsqueeze called:
"AudioPCI [plughw:0,0]"
which I believe relates to an ALSA device. At least, running "amixer info" returns the following:
Card default 'AudioPCI'/'Ensoniq AudioPCI ENS1371 at 0xdc80, irq 10'
Mixer name : 'TriTech id 3'
Components : 'AC97a'
Softsqueeze also has "AudioPCI [plughw:0,1]" available as a mixer. I don't know what this refers to, but there doesn't seem to be any difference between them (?). I only have one sound card in the system.
Anyway, the behaviour is now *different*.
At the beginning of each track, the Squeezebox and Softsqueeze are synchronised (within a very small fraction of a second of each other). However, within a few seconds of each track (10-15s), the Softsqueeze has an audio drop-out for half a second or so. At this point, they lose sync and remain that way until the end of the track. At the beginning of the next track the same thing happens: in sync for 10-15 seconds (or so) then half a second of silence from Softsqueeze and a consequent loss of sync.
This happened in 9 out of 10 tracks. Occasionally Softsqueeze wouldn't suffer the drop-out, and they would stay in sync for the whole track. I was displaying buffer fullness on the Softsqueeze, and also running "top" in a separate terminal window. During the drop-outs the buffer remained firmly at 100%, and there weren't any processes using more than a couple of percent of CPU time.
This feels like some sort of progress.Any ideas what I should investigate next?
Here's my set-up again:
>> I am running SlimServer 5.4.0 on a Mandrake Linux 9.2 server, >> Softsqueeze 1.16 with jre-1.5.0_01-fcs and mp3plugin.jar installed on >> a Mandrake Linux 10.1 client machine, and firmware version 40 on the >> Squeezebox. The Squeezebox and Softsqueeze client machine are wired >> devices, but both on the other end of separate wireless ethernet >> bridges.
For what it's worth, here also is my prefs file from Softsqueeze, in case you can see anything else worth tweaking:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd"> <map MAP_XML_VERSION="1.0"> <entry key="alwaysontop" value="false"/> <entry key="audio.lineBufferSize" value="128000"/> <entry key="audio.mixer" value="AudioPCI [plughw:0,0]"/> <entry key="audio.mp3decoder" value="Java MP3 Plugin"/> <entry key="displayemulation" value="Graphics"/> <entry key="has.mp3plugin" value="true"/> <entry key="httpport" value="9000"/> <entry key="macaddress" value="9f:2c:a4:1b:68:d0"/> <entry key="savedir" value="/home/fds"/> <entry key="savestream" value="false"/> <entry key="serverversion" value="5.4"/> <entry key="skins" value="slim"/> <entry key="slim.v_slim.full" value="false"/> <entry key="slim.v_slim.main" value="true"/> <entry key="slim.v_slim.search" value="false"/> <entry key="slim.v_slim.slimremote" value="false"/> <entry key="slim.v_slim.slimremote2" value="true"/> <entry key="slimport" value="3483"/> <entry key="slimserver" value="ssvr"/> <entry key="sshforwardports" value=""/> <entry key="sshpassword" value=""/> <entry key="sshport" value="22"/> <entry key="sshprivatekey" value=""/> <entry key="sshtunnel" value="false"/> <entry key="sshusername" value=""/> <entry key="version" value="1"/> </map>
Regards Ian
_______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
