OK so I've had enough complaints about Java, sync and cpu usage with
Softsqueeze - time to bring on the changes :D.

Over the last few evenings I have started working on SlimProtoLib. This
is a C library that includes the client functions to emulate the
slim-protocol used by the Squeezebox, and also supports audio playback.
With some luck this will remove some of the Java quirks that some people
see, reduce playback latency for sync and improve cpu usage.

squeezeslave is a command line C program to play audio from the
slimserver - no Java needed, but then of course no gui. All player
control has to be from a webbrowser or another program like Moose.

This is very early release software, use at your peril! So far this
release supports:
- mp3 playback
- sync with mp3 playback
- crashes and cpu spinning

It does not support:
- all status information needed by the slimserver (for example the
playlist won't update correctly)
- flac, aac, wav, etc.
- replay gain
- high quality audio playback (output clips)
- direct streaming (e.g. internet radio)
- audio looping (e.g. for short clips)
- anything other than 44.1Hz streams
- built in ssh tunnelling
- cross fading
- password protected servers
- and lots of other things I've not realised are missing yet

My idea is when this library is working then I will itegrate this with
Softsqueeze to improve the audio playback performance.

If you would like to try this out and source (GPL) is available in
slimdevices svn trunk, and binaries for windows can be downloaded from
http://softsqueeze.sourceforge.net. To run squeezeslave use
'squeezeslave <slimserver ip>'.

The playback latency can be controlled - useful when trying sync out.
This can set using 'set PA_MIN_LATENCY_MSEC=50' on the command line
before you start squeezeslave. If you try sync I'd be interested to
know what works, and doesn't.

And also some help needed ... the libraries used should all be cross
platform, so with minimal tweaking it should be able to compile and run
on osx, linux and solaris. If anyone is up for that tweaking please
submit a patch. Thanks :).

Enjoy!
Richard


-- 
rtitmuss
------------------------------------------------------------------------
rtitmuss's Profile: http://forums.slimdevices.com/member.php?userid=36
View this thread: http://forums.slimdevices.com/showthread.php?t=20160

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to