Compiling Squeezeslave for Maemo OS2008
A java implementation of the Squeezebox
Brought to you by:
ralph_irving,
rtitmuss
Hello to all.
I have Squeezeslave compiled and working on my Opensuse X86_64 installation. I wanted to make an attempt to compile it for my Nokia N800 tablet so that I can (for the fun of it) use it as a Squeezebox "replacement".
With a couple of minor modifications it is trivial to compile Squeezeslave for Maemo - unfortunately it doesn't work.
Modifications:
- Change "cflags" in the makefile to match corresponding ARM environment (Scratchbox, Diablo 4.1)
- Modify a file under libportaudio so that ALSA support can be compiled (line #1367 for those interested, change _ENABLE to _MMAP)
Error/issue: Upon launch of Squeezeslave (both in the qemu environment and on the N800)
- with "-help" as the only CLI parameter, the software runs and outputs the various CLI options
- with "-L" (to query the audio system), Squeezeslave just hangs
- with "-o 0" (or any other device ID) and the corresponding IP for the Squeezeserver, the software either hangs or gives a segfault.
I'm not much of a developer, so I don't have much idea of how to debug why it is hanging. Alsa (libasound) and various other libraries are available and used on the N800 so sound is working nicely.
Anyone?
Thanks!
Bug report / help request withdrawn.. Did a complete recompile with other cflag settings and everything now works well.
The only issue I now experience is that if I sync the players (Squeezebox & Squeezeslave) - the squeezeslave is about ~100ms (my semi-educated guess) ahead of the Squeezebox.
Although it is nice to know that the N800 doesn't have a problem coping with high bitrate FLAC (which my sound collection exclusively consists of) I'd would like to add a slight delay. Does anyone know which buffer to increase or how to go about doing that?
Thanks!
Hmmmmm. After stopping and restarting Squeezeslave on my N800 it refuses to work again, even after a reboot of the N800.
After starting Squeezeslave, it checks in with the Squeezeserver, and after a few seconds it will exit with the mysterious error message "Bus error". I have no idea where that is coming from ..
Anyone here?
Sorry, I don't check the sourceforge forum very often.
This option adds the delay you're looking for
-p <msec>: Sets a delay before any playback is started. This
is useful if the DAC used for output is slow to
wake-up/lock, causing the first few samples to be
dropped.
Please use the Squeezeslave Support Thread http://forums.slimdevices.com/showthread.php?t=63966 by joining forums.slimdevices.com instead of this one.
The bus error message can be many things. Please post in the support thread so others can benefit from the discussion. I'll see what I can do to help.