I have successfully checked out the 6_3-X branch of softsqueeze
following the instructions in ealier posts from other people.
Looks like squeezeslave will do what I want, but it won't run correctly as a daemon
I am looking to fix that, and will post my diffs to bug trac when done
In file included from src/squeezeslave/squeezeslave.c:29:
src/slimaudio/slimaudio.h:31:17: error: mad.h: No such file or directory
src/slimaudio/slimaudio.h:32:33: error: FLAC/stream_decoder.h: No such file or directory
src/slimaudio/slimaudio.h:33:31: error: vorbis/vorbisfile.h: No such file or directory
Can someone guide me as to what packages squeeze slave is dependent on.
Cheers
Chris Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For anyone that stumbles accross this I have manage to do the following.
(1) fix the interactive keyboard
(2) get it to daemonize correctly
I will post the code shortly...
Any one who wants it now can just drop me an email and I will send it
I found the following
(1) Stdin is being closed accidenaly. this is why the interactive KB was npt working. my work arrond is to dup() stdin, and then use the new duped file descriptor
(2) some times when squeezeslave starts it eats all the CPU when you remotly send a play command. If done locally, via the KB then seems to be OK.. but this is intermitent. (woking on this one).
(3) The audio is slightly distorted (I think.. )
(4) when quiting I get the error message "Error in recv: Bad file descriptor". I have traced this down to the "slimproto_destroy()" function.
I'm going to looking to #4 first, as I think it is the easiest, and it may shed some light on #1
CHeers for now
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have successfully checked out the 6_3-X branch of softsqueeze
following the instructions in ealier posts from other people.
Looks like squeezeslave will do what I want, but it won't run correctly as a daemon
I am looking to fix that, and will post my diffs to bug trac when done
I have done the following
svn co http://svn.slimdevices.com/repos/slim/branches/BRANCH_6_3_x/softsqueeze
cd ~/Desktop/softsqueeze/SlimProtoLib
cp makefile.linux makefile
make
I am getting the the followin error messages
In file included from src/squeezeslave/squeezeslave.c:29:
src/slimaudio/slimaudio.h:31:17: error: mad.h: No such file or directory
src/slimaudio/slimaudio.h:32:33: error: FLAC/stream_decoder.h: No such file or directory
src/slimaudio/slimaudio.h:33:31: error: vorbis/vorbisfile.h: No such file or directory
Can someone guide me as to what packages squeeze slave is dependent on.
Cheers
Chris Martin
OK .. I found the dependiancies
I needed to install:
libflac-dev (1.1.2-3ubuntu1)
liboggflac3 (1.1.2-3ubuntu1)
libogg-dev (1.1.3-0ubuntu3)
libvorbis-dev (1.1.2-0ubuntu2)
libmad0 (0.15.1b-2.1)
libmad0-dev (0.15.1b-2.1)
A few signed/unsigned issues - easily sorted
Ubuntu libaries are in /usr/lib not /usr/local/lib as indicated in the makefile
All compiled ... now on with real work
I also wnat t track down the bug that causes it to eat CPU if it is started before a playlist is sent
For anyone that stumbles accross this I have manage to do the following.
(1) fix the interactive keyboard
(2) get it to daemonize correctly
I will post the code shortly...
Any one who wants it now can just drop me an email and I will send it
I found the following
(1) Stdin is being closed accidenaly. this is why the interactive KB was npt working. my work arrond is to dup() stdin, and then use the new duped file descriptor
(2) some times when squeezeslave starts it eats all the CPU when you remotly send a play command. If done locally, via the KB then seems to be OK.. but this is intermitent. (woking on this one).
(3) The audio is slightly distorted (I think.. )
(4) when quiting I get the error message "Error in recv: Bad file descriptor". I have traced this down to the "slimproto_destroy()" function.
I'm going to looking to #4 first, as I think it is the easiest, and it may shed some light on #1
CHeers for now