Discussion:
[ANNOUNCE] Squeezeslave: 1.2 released
bidule
2012-03-06 18:48:25 UTC
Permalink
Hello,

I have different sound card (ASIO) that have multiple ouput.
Is there a way to specify the right ouput channels ?

For example, Juli@ has 4 channels, by default SqueezeSlave sends the
sound to Channels 1&2 (Analogue),, my concern is that I want to use the
Digital SPDIF output, channels 3&4.

Am I missing some setting or is there a way to adress my wish.

Thank you for your work,
Best regards,
Jean


--
bidule
------------------------------------------------------------------------
bidule's Profile: http://forums.slimdevices.com/member.php?userid=15337
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-07 17:16:42 UTC
Permalink
Try this 'ZONES enabled build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-320-win.zip).

You'll need to add -z1/2 to your command line. It should create a new
player unless you have already added -m.

This features was provided by odedn. See this 'post'
(http://forums.slimdevices.com/showpost.php?p=658506&postcount=242) for
details.

If you get the error 'Invalid number of channels', then you'll need to
adjust the -z option. Also don't forget to select the asio device on
the command line.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
bidule
2012-03-07 20:44:42 UTC
Permalink
Thank you Ralphy, it is working fine.

Jean


--
bidule
------------------------------------------------------------------------
bidule's Profile: http://forums.slimdevices.com/member.php?userid=15337
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
bidule
2012-03-09 16:09:16 UTC
Permalink
Hello Ralphy,

In my process to improve sound quality i'm killing eveything not needed
for SqueezeSlave.

My computer is running Window XP Pro SP3 with 2 services and only 4
process, around 50 threads !
Now I'm looking in killing unnecessary threads.
In SqueezeSlave (the modified version for channel selection), as it is
a general driver (Direct Sound, ASIO, Wasapi,..) it includes
unnecessary threads (for me). With Process Explorer.exe I can manually
kill dsound.dll & wdmaud.drv but I didn't find a way to automate their
death.
Would you mind giving me the procedure to build Squeezeslave-Asio with
the channel selection feature ?

Best Regards,
Jean


--
bidule
------------------------------------------------------------------------
bidule's Profile: http://forums.slimdevices.com/member.php?userid=15337
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
bidule
2012-03-09 21:10:53 UTC
Permalink
I check first on my regular desktop machine that is running ASIO4ALL,
but on the muic machine, no problem, no dsound.dll nor wdmaud.drv,
everything ok, my mistake, and my appolagies.

Jean


--
bidule
------------------------------------------------------------------------
bidule's Profile: http://forums.slimdevices.com/member.php?userid=15337
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-10 13:03:54 UTC
Permalink
Happy you figured it out and that the ZONES feature works with ASIO.

To enable the ZONES feature you need to add -DZONES to the CFLAGS= line
in the makefile.

There are build instructions on the wiki (see my sig), however they are
out of date for v1.2 as the windows binary now supports all 3 audio
drivers and more out of date for trunk.

I plan to enable ZONES in trunk soon. As it's a fairly new feature I
wasn't comfortable enabling it for the v1.2 release.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
dangerusty
2012-03-12 01:03:07 UTC
Permalink
I've been trying to make a solution work where I use the 3 pairs of
analog outputs from a 5.1 card to an amp with 3 pairs of inputs. Is a
"zones" feature possible when using multiple analog outputs of a single
audio device?


--
dangerusty
------------------------------------------------------------------------
dangerusty's Profile: http://forums.slimdevices.com/member.php?userid=54208
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-12 14:48:57 UTC
Permalink
dangerusty;695386 Wrote:
> I've been trying to make a solution work where I use the 3 pairs of
> analog outputs from a 5.1 card to an amp with 3 pairs of inputs. Is a
> "zones" feature possible when using multiple analog outputs of a single
> audio device?

I've had confirmed reports of the zones feature working with linux alsa
and asio.

What OS and audio api?

Did you read the usage post I linked to above?


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Kvaks
2012-03-13 16:13:49 UTC
Permalink
Hey! Thanks for making and updating Squeezeslave (that goes to everyone
involved).

I have one problem with Squeezeslave, one which I've had for many
years, and thus spanning many versions of Squeezeslave and
Logisqueezeboxmediacenterserver. The problem is: Squeezeslave becomes
unresponsive to playback and control after being left dormant for a
while. Typically if left unused for some hours, certainly almost always
when left unused overnight, nothing will play. Sometimes the server will
list the squeezeslave player (but it won't play), other times it will be
gone from the list of players (I'm not sure about any pattern here). The
programme process is still alive on my computer, but I have to kill it
and restart. Then playback will start immediately.

Current system:

Linux 2.6.38-8-generic x86_64 GNU/Linux

squeezeslave 1.2-316 Mar 1 2012 11:49:36
compile flags: linux portaudio:1608 debug signals interactive daemon
renice
buffer sizes: decoder 2097152 output 2822400 bytes

Squeezebox Server Version: 7.6.1 - r33110 @ Wed Aug 17 18:50:10 PDT
2011


--
Kvaks
------------------------------------------------------------------------
Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-14 11:30:59 UTC
Permalink
Kvaks;695622 Wrote:
> The problem is: Squeezeslave becomes unresponsive to playback and
> control after being left dormant for a while. Typically if left unused
> for some hours, certainly almost always when left unused overnight,
> nothing will play. Sometimes the server will list the squeezeslave
> player (but it won't play), other times it will be gone from the list
> of players (I'm not sure about any pattern here). The programme process
> is still alive on my computer, but I have to kill it and restart. Then
> playback will start immediately.

I have a couple things for you to try.

1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in
makefile.linux26-i64-alsa-display and rebuild


Code:
--------------------
make -f makefile.linux26-i64-alsa-display clean
make -f makefile.linux26-i64-alsa-display
--------------------


2. Run squeezeslave, any build, adding -dslimproto to your existing
command line. Report the line that starts with proto_sigpipe:

Mine looks like

Code:
--------------------
proto_sigpipe: MSG_NOSIGNAL
--------------------


I expect yours to be different.

I'll have further suggestions based on the reported MSG.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Kvaks
2012-03-15 10:00:42 UTC
Permalink
ralphy;695723 Wrote:
> I have a couple things for you to try.
>
> 1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in
> makefile.linux26-i64-alsa-display and rebuild. Use squeezeslave as
> before and see if it "hangs" again.
>

I woke up this morning and the running Squeezeslave responded nicely
when I pressed play, so this might have worked. Thanks!

(If it turns out it didn't work, I'll come back :-) )


--
Kvaks
------------------------------------------------------------------------
Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
DareVanReed
2012-04-20 12:00:50 UTC
Permalink
Kvaks wrote:
> I woke up this morning and the running Squeezeslave responded nicely
> when I pressed play, so this might have worked. Thanks!
>
> (If it turns out it didn't work, I'll come back :-) )

did that work out for you? it fixed it for a few days for me, but that
was all.


------------------------------------------------------------------------
DareVanReed's Profile: http://forums.slimdevices.com/member.php?userid=44803
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Kvaks
2012-08-31 16:08:54 UTC
Permalink
Kvaks wrote:
> I woke up this morning and the running Squeezeslave responded nicely
> when I pressed play, so this might have worked. Thanks!
>
> (If it turns out it didn't work, I'll come back :-) )

I spoke too soon. It didn't work. Squeezeslave kept turning up dead
after not being used for a couple of hours. I sort of fixed it by making
a cronjob that every hour kills and restarts squeezeslave unless it's
currently playing a song. This "solution" works well enough, so I
haven't bothered looking into it any further.


Code:
--------------------

#!/bin/bash

if [ ! -z `echo -e '00%3A00%3A00%3A00%3A00%3A01 status 0 1 tags'"\nexit"|nc -w1 localhost 9090 |grep 'mode%3Aplay'` ];then
echo "Squeezeslave is playing, not restarting it"
else
echo "Restarting squeezeslave"
killall squeezeslave
squeezeslave &
fi

--------------------


------------------------------------------------------------------------
Kvaks's Profile: http://forums.slimdevices.com/member.php?userid=21610
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
DareVanReed
2012-04-19 20:42:20 UTC
Permalink
ralphy wrote:
> I have a couple things for you to try.
>
> 1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in
> makefile.linux26-i64-alsa-display and rebuild. Use squeezeslave as
> before and see if it "hangs" again.
>
> >
Code:
--------------------
> > make -f makefile.linux26-i64-alsa-display clean
> make -f makefile.linux26-i64-alsa-display
--------------------
> >
>
> 2. Run squeezeslave, any build, adding -dslimproto to your existing
> command line. Report the line that starts with proto_sigpipe:
>
> Mine looks like
> >
Code:
--------------------
> > proto_sigpipe: MSG_NOSIGNAL
--------------------
> >
>
> I expect yours to be different.
>
> I'll have further suggestions based on the reported MSG.

hi ralphy,

i'm having exactly the same issue as described before, over multiple
versions of everything. i compiled like you said, and i get the same
MSG_NOSIGNAL on the debug of slimproto. what information can i provide
about my build that might help you troubleshoot?

i'm using the latest sources, but this issue has been consistent,
exactly as described by the other fella.

***@tucker:/usr/local/bin# squeezeslave -V
squeezeslave 1.2-319 Apr 19 2012 21:32:51
compile flags: linux portaudio:1608 debug daemon renice zones
buffer sizes: decoder 2097152 output 2822400 bytes

Copyright 2004-2012 Richard Titmuss, Duane Paddock.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


------------------------------------------------------------------------
DareVanReed's Profile: http://forums.slimdevices.com/member.php?userid=44803
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-04-19 21:20:09 UTC
Permalink
Attached is a proposed configuration script to allow one to run
squeezeslave as a service on Ubuntu / Debian. The script attempts to
automatically:


- create a random fake mac address for the squeezeslave instance
- figure out the correct output audio device
- figure out the ip address of the target lms
- writes the above to a configuration file at
/etc/default/squeezeslave
- creates a /etc/init.d/squeezeslave service script
- creates the service control links via update.rc.d


Requirements:

squeezeslave binary somewhere in the path (e.g. /usr/sbin/squeezeslave)
update.rc.d

Once run, you'll be able to start and run squeezeslave in the background
via:

# sudo service squeezeslave start

..and stop it via

# sudo service squeezeslave stop

Details of the service and the squeezeslave instance can be controlled
by editing the /etc/default/squeezeslave config file.

Enjoy.


+-------------------------------------------------------------------+
|Filename: config-squeezeslave.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13295|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
DareVanReed
2012-08-28 15:18:38 UTC
Permalink
DareVanReed wrote:
> hi ralphy,
>
> i'm having exactly the same issue as described before, over multiple
> versions of everything. i compiled like you said, and i get the same
> MSG_NOSIGNAL on the debug of slimproto. what information can i provide
> about my build that might help you troubleshoot?
>

hi again, some progress to report. i still have the ACL888 card split
into 4 stereo pairs, and was still experiencing the stalling issue until
last week. i compiled again from the newest trunk, made no modifications
to the makefile, copied the bin over, and restarted my slaves. that was
6 days ago, and the slaves have never stopped responding to play
requests, even when a playlist ends and isn't stopped (which is what was
happening previously). so, at the moment, i don't have amplifiers or
speakers hooked up to the other stereo pairs, but i'm going to assume
they're ok now too. to summarize, i now have a squeezeslave attached to
my kitchen speakers which has been functioning correctly for nearly a
week, at time of writing :D

i'm not sure what changed internally in the code between the two
versions, but everything seems to be ok now for me, so i'm happy.

thanks again for the brilliant little daemon, ralphy.


Code:
--------------------


***@tucker:~# squeezeslave -V
squeezeslave 1.2-369 Aug 22 2012 16:53:10
compile flags: linux portaudio:1834 debug signals interactive daemon renice
buffer sizes: decoder 2097152 output 2822400 bytes

Copyright 2004-2012 Richard Titmuss, Duane Paddock.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


--------------------


------------------------------------------------------------------------
DareVanReed's Profile: http://forums.slimdevices.com/member.php?userid=44803
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
benno
2012-08-30 09:42:58 UTC
Permalink
HI,

I'm having some problems with a squeezeslave installation, especially
with slightly loosing sync and loosing output completely.
I would like to provide more details and also debug information. Where
would you like to "open" this tickets and what details do you need?
(eg. Debug-levels)

I posted some installation details here: DIY - Squeeze
house installation


------------------------------------------------------------------------
benno's Profile: http://forums.slimdevices.com/member.php?userid=57012
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-31 14:35:01 UTC
Permalink
benno wrote:
> HI,
>
> I'm having some problems with a squeezeslave installation, especially
> with slightly loosing sync and loosing output completely.
> I would like to provide more details and also debug information. Where
> would you like to "open" this tickets and what details do you need?
> (eg. Debug-levels)
>
> I posted some installation details here: DIY - Squeeze
> house installation
Losing audio completing is almost always an issue with the ALSA driver.
I noticed your dmix sample rate is not 44100 and squeezeslave only
supports that rate. This may also be contributing to the loss of
audio.

Squeezeslave does not officially support syncing with other players,
there are too many variables in "PC" hardware. I've made a "best
effort" in the code to facilitate it, but it either works or it doesn't.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
benno
2012-08-31 14:54:28 UTC
Permalink
ralphy wrote:
> Losing audio completing is almost always an issue with the ALSA driver.
When the squeezeplaying hangs, I could still play stuff directly with
"aplay" and the same ALSA-destination used in squeezeslave.
ralphy wrote:
>
> I noticed your dmix sample rate is not 44100 and squeezeslave only
> supports that rate. This may also be contributing to the loss of
> audio.
>
This is related to the used hardware, the USB-amps just accept this
rate...

Is there a way to debug this?


------------------------------------------------------------------------
benno's Profile: http://forums.slimdevices.com/member.php?userid=57012
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-01 17:01:19 UTC
Permalink
benno wrote:
> When the squeezeplaying hangs, I could still play stuff directly with
> "aplay" and the same ALSA-destination used in squeezeslave.
>
> This is related to the used hardware, the USB-amps just accept this
> rate...
>
> Is there a way to debug this?

aplay doesn't manipulate the ALSA driver like portaudio does, so this is
not a fair test.

Have you modified squeezeslave to open the device at the 46875 sample
rate? That's more than the 1% currently defined.

Have you built squeezeslave from the latest trunk on the hardware you're
using? If not, I'd suggest starting there. Also search all the past
squeezeslave release support threads as this has been discussed at
length in the past.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
benno
2012-09-02 12:02:52 UTC
Permalink
ralphy wrote:
> aplay doesn't manipulate the ALSA driver like portaudio does, so this is
> not a fair test.
Any other "test" which I could do, when it hangs? Never heard of
portaudio before your post, so I don't know how to do it.

ralphy wrote:
> Have you modified squeezeslave to open the device at the 46875 sample
> rate? That's more than the 1% currently defined.
Searched the settings of squeezeslave but didn't found any option which
seems to set the sample-rate, so, no I haven't modiefied it. How can I
do this?

ralphy wrote:
> Have you built squeezeslave from the latest trunk on the hardware you're
> using? If not, I'd suggest starting there. Also search all the past
> squeezeslave release support threads as this has been discussed at
> length in the past.
Now yet, but since today Trunk-376 is in testing. report will follow...

Thx
Benno


------------------------------------------------------------------------
benno's Profile: http://forums.slimdevices.com/member.php?userid=57012
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-03 10:21:30 UTC
Permalink
benno wrote:
> Any other "test" which I could do, when it hangs? Never heard of
> portaudio before your post, so I don't know how to do it.

Portaudio is a cross platform API for playing and recording audio.


benno wrote:
> Searched the settings of squeezeslave but didn't found any option which
> seems to set the sample-rate, so, no I haven't modiefied it. How can I
> do this?

It's not an easy task. squeezeslave is mostly hard coded to use 44100.

benno wrote:
> Now yet, but since today Trunk-376 is in testing. report will follow...
>
> Thx
> Benno

Great! It's best to build for your OS. See how it works and report back
if it stills hangs.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
brising
2012-09-08 04:06:23 UTC
Permalink
anyone using squeezeslave on an NLSU2 (SlugOS) ?

I managed to compile squeezeslave and run it but I only hear white
noise.
My usb sound card and OSS seem o work ok, I can play music using madplay
without any problem.


------------------------------------------------------------------------
brising's Profile: http://forums.slimdevices.com/member.php?userid=57162
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-08 11:23:35 UTC
Permalink
brising wrote:
> anyone using squeezeslave on an NLSU2 (SlugOS) ?
>
> I managed to compile squeezeslave and run it but I only hear white
> noise.
> My usb sound card and OSS seem o work ok, I can play music using madplay
> without any problem.

White noise is usually due to using the wrong byte ordering.

In your makefile if you have -D__BIG_ENDIAN__ on the CFLAGS line remove
it and then run make -f makefile realclean before rebuilding.
If you don't have -D__BIG_ENDIAN__ then add it and run make realclean
and then rebuild


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
brising
2012-09-08 15:28:09 UTC
Permalink
that was it!
Thank you Ralphy!


------------------------------------------------------------------------
brising's Profile: http://forums.slimdevices.com/member.php?userid=57162
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-19 12:04:00 UTC
Permalink
There is an updated 'squeezeslave build for OpenIndiana OSS and SADA'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-378-oi-intel.tar.gz)
on googlecode.

Only the OSS version has been tested.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
sbp
2012-09-19 19:00:19 UTC
Permalink
Hi Ralphy

Thank you very much for the Squeezeslave, it is working very well for
me, and it even can be synchronised with My Duet and Radio. All my local
music files are playing fine and most of the radio stations. But it
seems like all my Danish Radio stations can't play via Squeezeslave.

Here is the link that I use for one of the stations:
http://opml.radiotime.com/Tune.ashx?id=s24861&formats=aac,ogg,mp3,wmpro,wma,wmvoice,real&partnerId=16&serial=d41d8cd98f00b204e9800998ecf8427e
It can be played fine in the Radio and the Duet, but not in
Squeezeslave.

I have tried on two different computers with Squeezeslave installed
(with a Debian linux and the other with TinyCore linux). Squeezeslave is
version: squeezeslave-1.2-311

What can I do?


------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
nekomatic
2012-09-20 08:13:08 UTC
Permalink
I've downloaded Squeezeslave for Mac from
https://code.google.com/p/squeezeslave/downloads/detail?name=squeezeslave-1.2-376-osx.tar.gz
, which says it's a universal binary, but when I try to run it on my G3
(Pismo) Powerbook it says 'incompatible CPU subtype'.

Is it possible to run Squeezeslave on a G3?


------------------------------------------------------------------------
nekomatic's Profile: http://forums.slimdevices.com/member.php?userid=57325
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-20 12:14:45 UTC
Permalink
nekomatic wrote:
> I've downloaded Squeezeslave for Mac from
> https://code.google.com/p/squeezeslave/downloads/detail?name=squeezeslave-1.2-376-osx.tar.gz
> , which says it's a universal binary, but when I try to run it on my G3
> (Pismo) Powerbook it says 'incompatible CPU subtype'.
>
> Is it possible to run Squeezeslave on a G3?

What version of OSX are you running?

There's no 64-bit powerpc support in the universal binary.

It's been on my TODO list for a while, you're the first to actually ask
for it.

I'll see if I can build a ppc64 stand alone for you to try first.

Check back in a few days.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
nekomatic
2012-09-20 13:31:45 UTC
Permalink
Thanks!

It's on 10.4.11.


------------------------------------------------------------------------
nekomatic's Profile: http://forums.slimdevices.com/member.php?userid=57325
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-22 10:00:11 UTC
Permalink
ralphy wrote:
> What version of OSX are you running?
>
> There's no 64-bit powerpc support in the universal binary.
>
> It's been on my TODO list for a while, you're the first to actually ask
> for it.
>
> I'll see if I can build a ppc64 stand alone for you to try first.
>
> Check back in a few days.

I was way off on this one.

The 32-bit ppc compiler in Xcode 3.2.6 builds for G4 powerpc macs and up
by default.

The 'incompatible CPU subtype' error was most likely caused by this and
has nothing to do with 64-bit.

However, I've gone ahead and built a ppc64 binary as well.

I've uploaded a 'tar file to google code'
(http://squeezeslave.googlecode.com/files/squeezeslave-ppc-1.2L-379.tar.gz)
with two binaries; a 32-bit ppc with G3 support and an untested 64-bit
ppc build.

Unfortunately, I have no way to test the new builds.

nekomatic, if you could try squeezeslave-ppc-1.2L-379 and report back
that would be great.

Could someone with a G5 mac try the squeezeslave-ppc64-1.2L-379 build
and report success/failure?

I'll spin a new universal binary, with all 4 architectures once I've had
confirmation that both builds work.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
nekomatic
2012-09-22 12:16:59 UTC
Permalink
ralphy wrote:
> I was way off on this one.
>
> The 32-bit ppc compiler in Xcode 3.2.6 builds for G4 powerpc macs and up
> by default.
>
> The 'incompatible CPU subtype' error was most likely caused by this and
> has nothing to do with 64-bit.

I was going to say I thought the G3 was 32-bit, but I figured you knew
what you were talking about!

Anyway, your new build works fine on my G3 so far - thanks very much!

Now to see how well it synchronises with the player in iPeng...


------------------------------------------------------------------------
nekomatic's Profile: http://forums.slimdevices.com/member.php?userid=57325
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
jimzak
2012-09-22 15:58:46 UTC
Permalink
Could someone take a moment and explain to me what Squeezeslave does?

Please excuse the fact that I didn't read through the entire thread.

Thanks.


------------------------------------------------------------------------
jimzak's Profile: http://forums.slimdevices.com/member.php?userid=17592
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
tcutting
2012-09-22 17:16:02 UTC
Permalink
jimzak wrote:
> Could someone take a moment and explain to me what Squeezeslave does?
>
> Please excuse the fact that I didn't read through the entire thread.
>
> Thanks.

The wiki is your friend:
http://wiki.slimdevices.com/index.php/SqueezeSlave
Squeezeslave is a software squeezebox player which is very light - no
real GUI. It's great for running in the background or for use on a
"headless" machine. One drawback is it's limited to 44.1kHz playback,
but if your are running an LMS server, you can configure appropriate
transcoding.


------------------------------------------------------------------------
tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
jimzak
2012-09-22 18:57:05 UTC
Permalink
tcutting wrote:
> The wiki is your friend:
> http://wiki.slimdevices.com/index.php/SqueezeSlave
> Squeezeslave is a software squeezebox player which is very light - no
> real GUI. It's great for running in the background or for use on a
> "headless" machine. One drawback is it's limited to 44.1kHz playback,
> but if your are running an LMS server, you can configure appropriate
> transcoding.

Do the other players support high res?


------------------------------------------------------------------------
jimzak's Profile: http://forums.slimdevices.com/member.php?userid=17592
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Mnyb
2012-09-23 00:42:44 UTC
Permalink
jimzak wrote:
> Do the other players support high res?

"yes" some version of squeezeplay do , but the logitech provided one is
stuck at 48k , the vortexbox player does it .
But SS only does 44.1 not 32k or 48k which can be an issue with some web
radio .


------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-22 10:23:36 UTC
Permalink
sbp wrote:
> Hi Ralphy
>
> Thank you very much for the Squeezeslave, it is working very well for
> me, and it even can be synchronised with My Duet and Radio. All my local
> music files are playing fine and most of the radio stations. But it
> seems like all my Danish Radio stations can't play via Squeezeslave.
>
> Here is the link that I use for one of the stations:
> http://opml.radiotime.com/Tune.ashx?id=s24861&formats=aac,ogg,mp3,wmpro,wma,wmvoice,real&partnerId=16&serial=d41d8cd98f00b204e9800998ecf8427e
> It can be played fine in the Radio and the Duet, but not in
> Squeezeslave.
>
> I have tried on two different computers with Squeezeslave installed
> (with a Debian linux and the other with TinyCore linux). Squeezeslave is
> version: squeezeslave-1.2-311
>
> What can I do?
Search these forums, it's been discussed many times in the past.

Clue: squeezeslave only supports 44100Hz sample rate.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
sbp
2012-09-27 09:28:54 UTC
Permalink
ralphy wrote:
> Search these forums, it's been discussed many times in the past.
>
> Clue: squeezeslave only supports 44100Hz sample rate.

Sorry I have read about that, but I thought that something else was the
problem (maybe some special danish letters etc) I didn't know how to
actually check the sample rate of the stream.

But after your guidance I made a custom-convert.conf file which I placed
in the plugin directory, and now the streams are playing fine. The
content of the custom-convert.conf is:

# Capabilities
# I - can transcode from stdin
# F - can transcode from a named file
# R - can transcode from a remote URL (URL types unspecified)
#
# O - can seek to a byte offset in the source stream
# T - can seek to a start time offset
# U - can seek to start time offset and finish at end time offset
#
# D - can downsample
# B - can limit bitrate
#
# Substitution strings for variable capabilities
# %f - file path (local files)
# %F - full URL (remote streams)
#
# %o - stream start byte offset
#
# %S - stream samples start offset
# %s - stream seconds start offset
# %t - stream time (m:ss) start offset
# %U - stream samples end offset
# %u - stream seconds end offset
# %v - stream time (m:ss) end offset
# %w - stream seconds duration

#
# %b - limit bitrate: b/s
# %B - limit bitrate: kb/s
# %d - samplerate: samples/s
# %D - samplerate: ksamples/s

# For one player with this MAC address.
# mp3 flc * 00:00:00:00:00:01

# All squeezeslave players.
mp3 flc squeezeslave *
# FRT:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$
-cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao
pcm:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent
--compression-level-0 -

flc flc squeezeslave *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0
-b 16 -r 44.1k -


------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
benno
2012-09-22 10:18:52 UTC
Permalink
ralphy wrote:
>
> Great! It's best to build for your OS. See how it works and report back
> if it still hangs.

After some days without restarting the services it looks much better
then before 376.
Now there should be no (planned) activities which involves restart, so
more testing time lays infront of me.
I will give a response in a few weeks.

Btw
Thanks for this geat work, with squeezeslave we have more comfort and a
higher quality of life in our house!


------------------------------------------------------------------------
benno's Profile: http://forums.slimdevices.com/member.php?userid=57012
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-09-01 16:51:57 UTC
Permalink
DareVanReed wrote:
> i'm not sure what changed internally in the code between the two
> versions, but everything seems to be ok now for me, so i'm happy.
>
> thanks again for the brilliant little daemon, ralphy.
>

I've replaced the portaudio calls to Pa_AbortStream with Pa_StopStream
for the STOP state in r366


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-14 11:40:17 UTC
Permalink
dangerusty;695386 Wrote:
> I've been trying to make a solution work where I use the 3 pairs of
> analog outputs from a 5.1 card to an amp with 3 pairs of inputs.
>
> I tried the -z option on the devices in the screenshot below (Windows
> 7), and it does the following:
> -o 10 -z 2/3 = music in rear + loud noise in center/lfe only
> -o 10 -z 1/3 = music in center/lfe + loud noise in rear only
> -o 10 -z 0/3 = music in front + loud noise in rear only
> -o 17 -z n/3 = "invalid device"
> -o 14 -z n/3 = popping noises that taper off, no music
> -o 13 -z n/3 = "invalid sample rate"
> -o 15 -z n/3 = "invalid sample rate"
>
> Any ideas?

I assume the *n/3* are copy/paste errors?

The zones feature has never worked for me either, that's part of the
reason I didn't include it in the last release.

I suspect what's happening is the output device uses a format other
than 16-bits which is correctly assumed by the zones patch as it is the
only format supported by squeezeslave.

I'll need to investigate further to be sure.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Phil Meyer
2012-03-14 23:51:35 UTC
Permalink
>Squeezeslave 1.2-311 is now available on 'sourceforge'
>(http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.2.311/).
>
Does anyone know if there an equivalent app for Android OS? I have an HP Touchpad tablet, and had an equivalent app in WebOS. I've recently installed Ice Cream Sandwich, and bought SqueezeCommander, but wondering if it's possible to play music locally on the device.
ralphy
2012-03-15 10:36:23 UTC
Permalink
Philip Meyer;695861 Wrote:
> >Squeezeslave 1.2-311 is now available on 'sourceforge'
> >(http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.2.311/).
> >
> Does anyone know if there an equivalent app for Android OS? I have an
> HP Touchpad tablet, and had an equivalent app in WebOS. I've recently
> installed Ice Cream Sandwich, and bought SqueezeCommander, but
> wondering if it's possible to play music locally on the device.

SqueezePlayer from the Market.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
mixx
2012-03-31 07:42:46 UTC
Permalink
Thanks for developing squeezeslave!

Is there a 1.2.311 version for Openwrt on ar71xx platform?

And was there ever instructions/Makefile to crosscompile it for
ar71xx/Openwrt?

I tried reading through this and the previous development thread, but
failed to find any indication other than that these builds were
contributed by MusicManiac

Thanks


--
mixx
------------------------------------------------------------------------
mixx's Profile: http://forums.slimdevices.com/member.php?userid=55244
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-03-31 11:14:59 UTC
Permalink
You'll need to ask MusicManiac as I have no makefiles or build
instructions for OpenWRT.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
MusicManiac
2012-03-31 14:53:37 UTC
Permalink
Just sent you a PM mixx.

-mm


--
MusicManiac
------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
bobkoure
2012-04-02 13:32:29 UTC
Permalink
Hi Ralphy,
I'm testing squeezeslave-1.2L-320.exe on a WinXPSP3 box.
When I first start it, I get the error:
"the procedure entry point NtAlpcSendWaitReceivePort could not be
located in the dynamic link library ntdll.dll"

This does not happen with squeezeslave-asio-1.1-281.exe (or any of the
previous versions I've tried) on that same machine.

I searched a bit with this error message, came up with the suggestion
to rename \windows\system32\avrt.dll to something else.
Doing so fixed my issue. It's just one system, so just 'anecdata', but
might be useful if someone else has this issue.

One question: If I use the -L option to get a list of output devices,
how then do I use -n to specify that device? for instance, -L gets me
Output devices:
* 4: (Windows DirectSound) Primary Sound Driver (119/239)
5: (Windows DirectSound) SoundMAX HD Audio (119/239)
6: (Windows DirectSound) BEHRINGER USB AUDIO (119/239)
7: (ASIO) BEHRINGER USB AUDIO (5/5)

So, if I want to specify #7, what part of that string do I use? I've
tried "(ASIO) BEHRINGER USB AUDIO (5/5)" and "(ASIO) BEHRINGER USB
AUDIO", neither of which worked. Got any suggestions?

Thanks!


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-04-03 11:49:49 UTC
Permalink
Thanks for the info. I've not seen that error before.

Could you see if you get the same problem with the zones build from a
few posts back?

Currently -n will always match the DS device first as it does not
include the device type in the search. You'll need to you -o7 as it
only matches "BEHRINGER USB AUDIO". I ran into the same issue a few
days ago. I'll look at adding the device type at the beginning into
the search.

There is link in the 1st post on using -n.


--
ralphy

Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
NUmB
2012-04-04 00:03:12 UTC
Permalink
I have downloaded and installed Squeezeslave 1.2-311 for Mac mini. I
have Max OS X Ver 10.6.8.

I have set it to play audio out via HDMI to my stereo speakers. And it
works fine as long as I have the TV on. If I just start the computer
without turning the TV on and start playing music the sound will only
play on the Squeezebox in the kitchen not on the stereo. But it works
fine if the TV is on when I start playing music. Also if I turn the TV
off while music is playing the sound stops on the stereo but continues
on the Squeezebox.

Don't know if it helps, but when I play music directly from iTunes the
TV can be off both from the beginning or turned off during playback.
The sound keeps coming out of the stereo speakers then.

Is there something I can do to fix this?

//NUmB


--
NUmB
------------------------------------------------------------------------
NUmB's Profile: http://forums.slimdevices.com/member.php?userid=55332
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-04-08 14:06:03 UTC
Permalink
This is a problem with the current portaudio library. It sounds like
squeezeslave doesn't find the hdmi device you've defined with -o/-n and
reverts to the default 'Built-in Output'

The device must be present when squeezeslave starts and must remain
active the entire time squeezeslave is running.

Try running squeezeslave -L with the tv off and again with the tv on.
Are the lists different?

I've uploaded a 'new OSX test build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-320M-osx.tar.gz)
using the latest portaudio library for you to try. However I don't
expect this to fix the issue as the device renumeration feature is still
in development.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
cptdondo
2012-04-27 02:17:02 UTC
Permalink
When I try to play something streaming from the web with squeezeslave, I
get stuttering and the sound is like it got run through a Donald Duck
processor. If I use mplayer with the cache:

mplayer -really-quiet -cache 8192 -cache-min 5
URL_WOULD_GO_HERE/stream.mp3

it works just fine. I tried --latency nnn but no joy; Donald Duck still
lives in my streaming radio.....

Any way to cache the stream like mplayer does?


------------------------------------------------------------------------
cptdondo's Profile: http://forums.slimdevices.com/member.php?userid=55847
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
bugmenot
2012-04-27 12:43:31 UTC
Permalink
Are there any plans to support direct streaming and thusly plugins like
spotify?


------------------------------------------------------------------------
bugmenot's Profile: http://forums.slimdevices.com/member.php?userid=15664
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-04 10:49:39 UTC
Permalink
bugmenot wrote:
> Are there any plans to support direct streaming and thusly plugins like
> spotify?

No.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
meercat
2012-05-05 13:43:19 UTC
Permalink
I've just found squeezeslave & am trying it out, but I too get the
behaviour where it hangs after a period of inactivity.

In fact, if I get to the end of a playlist without adding new songs,
squeezeslave seems to hang.

I added the "-dslimproto" arg to the command line, and then find the
"proto_sigpipe: MSG_NOSIGNAL" message in the output, and I've pasted the
complete log output since the last of these messages below.
After this point the process seems to be pretty well hung (to the degree
that a normal kill command won't stop it, but a kill -9 is needed).

This is squeezeslave v1.2-311 on 32 bit linux (kernel 3.2.12) built with
gcc 4.5.3 running against a squeezeserver v7.7.2 - r33893.

squeezeslave 1.2-311 May 3 2012 10:49:09
compile flags: linux portaudio:1899 debug signals daemon aac
buffer sizes: decoder 2097152 output 2822400 bytes

with output devices:
1: (ALSA) HDA NVidia: HDMI 0 (hw:0,3) (11/46)
2: (ALSA) sysdefault (42/46)
3: (ALSA) hdmi (11/46)
* 4: (ALSA) default (42/46)
5: (ALSA) dmix (42/42)

and lsof shows the following sockets

*IPv4 2803002 * * *0t0 * * * *TCP linux2.local:40441->homenas:3483
(CLOSE_WAIT)
*IPv4 2803635 * * *0t0 * * * *TCP linux2.local:37675->homenas:9001
(ESTABLISHED)

If any more output would help - I could attach gdb & have a poke around,
or whatever... just let me know

Hope you can help

Cheers

--
Tim // twitter.com/#!/schmerg


[[[ ... snip... ]]]
proto_send: cmd=STAT len=53
proto_sigpipe: MSG_NOSIGNAL
proto_stat: code=STMe decoder_buffer_size=2097152
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107
output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMh decoder_buffer_size=2097152
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107
output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=audg len=24
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMr decoder_buffer_size=2097152
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107
output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=18727075
output_buffer_size=2822400 output_buffer_fullness=2441216
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891
output_buffer_size=2822400 output_buffer_fullness=2818048
elapsed_seconds=0 elapsed_milliseconds=0 server_t


------------------------------------------------------------------------
meercat's Profile: http://forums.slimdevices.com/member.php?userid=56115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-06 09:51:37 UTC
Permalink
This is a non-standard build, you've enabled aac and are not using the
supplied portaudio.

compile flags: linux *portaudio:1899* debug signals daemon *aac*


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
meercat
2012-05-06 12:58:50 UTC
Permalink
ralphy wrote:
> This is a non-standard build, you've enabled aac and are not using the
> supplied portaudio.
>
> compile flags: linux *portaudio:1899* debug signals daemon *aac*

Ah - I'm a gentoo user so I'd installed it via that.

I had a dig thru the ebuild - hoping it was just a simple wrapper around
your makefiles, but it's quite a rewrite :(

I can turn off aac with use flags (the way gentoo handles configuration
of packages) but it seems the ebuild author has written the ebuild to
forcibly use the gentoo portaudio package.

So I downloaded your prebuilt binary (linux26) and tried using that, but
it seems to hang in a similar way.

And then I tried the source, edited the makefile to remove the
-DUSE_SIGNALS_FOR_RESTART as mentioned in an earlier post (and commented
out the -DINTERACTIVE and LIBS line for curses and lirc, and also
removed them from the buildall call to gcc), and that seems to work
better, but still if left idle for a few minutes it sometimes goes
silent, and has to be killed and restarted to resume playing although
not hung as before - it's still producing log messages and can be killed
without a SIGKILL.

That version reports
compile flags: linux portaudio:1608 debug daemon renice

Any suggestions of anything else I can try, or do to help diagnose it?

Cheers

--
Tim


------------------------------------------------------------------------
meercat's Profile: http://forums.slimdevices.com/member.php?userid=56115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-06 15:35:48 UTC
Permalink
meercat wrote:
> Any suggestions of anything else I can try, or do to help diagnose it?

The audio output thread is most likely hanging.

I'd suggest working with trunk for starters which is currently at r325.

I see no issues with the makefile changes, but you'll need to make them
again for trunk.

Then I'd suggest updating the portaudio library version to r1826.

LIBPORTAUDIO=portaudio-r1826


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
meercat
2012-05-07 16:31:42 UTC
Permalink
ralphy wrote:
> The audio output thread is most likely hanging.
>
> I'd suggest working with trunk for starters which is currently at r325.
>
> I see no issues with the makefile changes, but you'll need to make them
> again for trunk.

I pulled the source for 325 and built that with minimal makefile changes
as described earlier.

That played well for a while, but then the audio is lost again after an
extended period of idle (still lots of log messages, so it's getting
data and doing something, but no audio output). Normal Ctrl-C will kill
it.

ralphy wrote:
> Then I'd suggest updating the portaudio library version to r1826.
>
> LIBPORTAUDIO=portaudio-r1826

This seemed to make things worse, it hung after the slightest break of a
few seconds, and hung hard (no more log messages, needs sigkill to kill
it again).

If I can do anything to help, let me know, but if there's something
wacky about my system & you've got your hands so full with other tasks
that this comes some way down your list of priorities, I won't be
offended :)

Cheers

--
Tim


------------------------------------------------------------------------
meercat's Profile: http://forums.slimdevices.com/member.php?userid=56115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-09 12:23:50 UTC
Permalink
meercat wrote:
> If I can do anything to help, let me know, but if there's something
> wacky about my system & you've got your hands so full with other tasks
> that this comes some way down your list of priorities, I won't be
> offended :)

I've only ever seen or had reports of this issue with ALSA, never with
Windows or OSX.

You could also try using a USB sound card if you have one handy to prove
it's the driver for your sound card and not squeezeslave. I had one
system running Arch Linux with a same "hanging" issue when using the
internal sound card but when I ran the same binary with a USB sound card
it worked perfectly.

Updating the ALSA snd_hda_intel kernel driver on this system fixed the
hanging with the internal sound card.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
meercat
2012-05-09 19:00:17 UTC
Permalink
ralphy wrote:
> I've only ever seen or had reports of this issue with ALSA, never with
> Windows or OSX.

I'd believe it - sound has always been a bit hit-and-miss on this system
(and it's not a clean install, but the hardware and O/S have been
continuously upgraded over the last 6 or 7 years or so).

The 325 version (with default portaudio) seems much better, and doesn't
always lose the audio, so I can easily live with it for now...
I've got it starting as a service, so while it's not a hard-hang I can
always restart the service easily enough.

But I'll let you know if it suddenly improves or worsens etc.

Cheers

--
Tim


------------------------------------------------------------------------
meercat's Profile: http://forums.slimdevices.com/member.php?userid=56115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
cptdondo
2012-05-02 01:37:49 UTC
Permalink
cptdondo wrote:
> When I try to play something streaming from the web with squeezeslave, I
> get stuttering and the sound is like it got run through a Donald Duck
> processor. If I use mplayer with the cache:
>
> mplayer -really-quiet -cache 8192 -cache-min 5
> URL_WOULD_GO_HERE/stream.mp3
>
> it works just fine. I tried --latency nnn but no joy; Donald Duck still
> lives in my streaming radio.....
>
> Any way to cache the stream like mplayer does?

OK, I traced this down to 32KHz streams. Any way for squuezeslave to
play 32KHz streams without sounding like a duck? I have mplayer and
lame installed. Is there a custom config file I can use to resample on
the fly?


------------------------------------------------------------------------
cptdondo's Profile: http://forums.slimdevices.com/member.php?userid=55847
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-04-08 16:58:39 UTC
Permalink
This is a problem with the current portaudio library. It sounds like
squeezeslave doesn't find the hdmi device you've defined with -o/-n and
reverts to the default 'Built-in Output'

The device must be present when squeezeslave starts and must remain
active the entire time squeezeslave is running.

Try running squeezeslave -L with the tv off and again with the tv on.
Are the lists different?

I've uploaded a 'new OSX test build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-320M-osx.tar.gz)
using the latest portaudio library for you to try. However I don't
expect this to fix the issue as the device renumeration feature is still
in development.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-04-14 12:14:07 UTC
Permalink
bobkoure wrote:
> I'm testing squeezeslave-1.2L-320.exe on a WinXPSP3 box.
> When I first start it, I get the error:
> "the procedure entry point NtAlpcSendWaitReceivePort could not be
> located in the dynamic link library ntdll.dll"
>
> This does not happen with squeezeslave-asio-1.1-281.exe (or any of the
> previous versions I've tried) on that same machine.
>
> I searched a bit with this error message, came up with the suggestion to
> rename \windows\system32\avrt.dll to something else.
> Doing so fixed my issue. It's just one system, so just 'anecdata', but
> might be useful if someone else has this issue.
>
>

The newer builds includes WASAPI support which is only available on
Vista/Win7. My research on this indicates that the avrt.dll is not for
XP and really should never have been installed by what app did so. I've
made a change in the 'r323 build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-323-win.zip)
which might stop this error from popping up. I guess you'd need to
rename avrt.dll back to it's original to try it.

bobkoure wrote:
> One question: If I use the -L option to get a list of output devices,
> how then do I use -n to specify that device? for instance, -L gets me
> Output devices:
> * 4: (Windows DirectSound) Primary Sound Driver (119/239)
> 5: (Windows DirectSound) SoundMAX HD Audio (119/239)
> 6: (Windows DirectSound) BEHRINGER USB AUDIO (119/239)
> 7: (ASIO) BEHRINGER USB AUDIO (5/5)
>
> So, if I want to specify #7, what part of that string do I use? I've
> tried "(ASIO) BEHRINGER USB AUDIO (5/5)" and "(ASIO) BEHRINGER USB
> AUDIO", neither of which worked. Got any suggestions?

The 'r323 build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-323-win.zip)
also has a new command line option (-t/--audiotype) to limit the
(-n/--name) search to one audio type.

Try this on the command line.

-tASIO -n"BEHRINGER USB AUDIO" -L

You should see the * next to device 7.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
judderod
2012-05-02 16:03:47 UTC
Permalink
Can anyone tell me what I'm doing wrong here?

I'm trying to use output 9. I'd prefer to set the output by name as the
output device numbers change depending on which device is set as default
in W7.

It works if I use -o9, but I get PortAudio error7 when I try -n


+-------------------------------------------------------------------+
|Filename: squeezeslave.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13328|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
judderod's Profile: http://forums.slimdevices.com/member.php?userid=56089
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
judderod
2012-05-03 16:26:30 UTC
Permalink
Ahh all fixed thanks to the r323 build.

SQUEEZ~1.EXE -t"Windows WASAPI" -n"S/PDIF (M-Audio Delta AP 192)"

:D


------------------------------------------------------------------------
judderod's Profile: http://forums.slimdevices.com/member.php?userid=56089
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
pdeoliveira
2012-05-22 08:38:26 UTC
Permalink
Hello Ralphy,
First of all, thank you for your great job on SqueezeSlave.
I'm using it on a Linux box with an xmos multichannel reference design
as a USB source.
I'd like to use it for 24/96 files, which is not currently possible.
I've already look into the code, and it seems possible.
I have some programing skills and I'm ready to help. Maybe you already
started some work on this subject and I don't want to make things
twice.
So, please let me know what I can do.

Pascal


------------------------------------------------------------------------
pdeoliveira's Profile: http://forums.slimdevices.com/member.php?userid=45641
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-24 11:45:04 UTC
Permalink
pdeoliveira wrote:
> Hello Ralphy,
> First of all, thank you for your great job on SqueezeSlave.
> I'm using it on a Linux box with an xmos multichannel reference design
> as a USB source.
> I'd like to use it for 24/96 files, which is not currently possible.
> I've already look into the code, and it seems possible.
> I have some programing skills and I'm ready to help. Maybe you already
> started some work on this subject and I don't want to make things
> twice.
> So, please let me know what I can do.
>
> Pascal
The original sources for squeezeslave were hard coded to support 16/44.1
everywhere so it's a major update to the
code. All timing and memory allocation calculations assume 16 bits and
44100Hz and the pcm decoder as well. I've
managed to add mono support for all the decoders except ogg, but that's
really a hack and would likely need to be
removed as part of this effort. You'll need to search all the code to
find the assumptions. I've tried to add FIXME
comments in the code when I've added any such assumptions myself, but
Richard didn't always do that.

I think a variable would need to be added to the audio structure to
track the sample rate of the current stream. A
couple of the decoders don't have a means to obtain the sample rate of
the current stream, so that would need to be
added. SBS seems to always pass '?' for the sample rate so you can't
use that. Ignore the AAC and WMA decoders as
I'm planning to rewrite them and they are not part of the official build
anyway.

The portaudio code expects 44100 as well so there's been no thought in
the design on how to change the hardware
sample rate if the next track is different from the current one. Also
the device list code checks if the device
specifically supports 44100.

There's also issues with the buffer code that needs to be resolved.
I've been working the another forum member to
help get squeezeslave ported to the empeg/rio car player. Ideally all
buffer code needs to be replaced with some
sort of ring buffer implementation. I've looked at using the one
included with the port audio svn trunk but it's
more work than I'm willing to put into squeezeslave at this time.

I think you'll find the buffering code will be the greatest hurdle to
overcome and I suspect that increasing both
bit size and sampling rate will expose additional issues.

The pa_callback is tightly coupled with the buffering code and this will
need to be addressed when replacing the
buffer engine. There should be no blocking function calls in the
callback. However, currently there are three.
For the empeg port we've managed to remove two of them, but the last in
the slimaudio_buffer_available call can only
be removed by changing the buffer code.

If you'd like to take a stab at it, I'm happy to help as much as
possible with suggestions and testing.

A fellow forum member, lauret, has started the work and has provided a
patch which partial works. I'd suggest getting in contact with him to
obtain the latest version and attempt to co-ordinate you're efforts. I
can create a branch on google code for the hi-res project.

Here's a quote from lauret regarding the current state

lauret wrote:
> Well, I have taken a look at the code for a couple of hours, but I
> didn't really see a good starting point, so I started with replacing all
> the 44.100 and 44100 occurences with resp. 96.000 and 96000 in the
> slimaudio dir. With an altered custom-convert.conf (which was already in
> place because of 44.1Khz) it worked perfectly! No hiccups or stuttering.
> Then I tried the same with 192kHz, and hardcoded it into slimaudio. This
> also worked, but it maxed out my server (Atom) with 44.1kHz material.
> 96kHz and above worked, I guess that's an easier job for SoX. Still,
> 2/3's of my music is in 44.1kHz, the rest is 96kHz or 192kHz, thus this
> is for me not an acceptable hack... Also, the bits per sample remain
> 16-bits.
>
> So, next step, how to keep track of the sample rate? I guess in the
> slimaudio_t struct? And where is squeezeslave able to detect
> sample-rate? In e.g. slimaudio_decoder_flac.c?

I haven't heard anything since then and I've made a lot of changes to
squeezeslave trunk, which I'll be updating later this week with several
more changes.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-05-27 12:22:29 UTC
Permalink
I've uploaded new 32-bit linux test builds for ARM, Intel and MIPPS to
'google code' (http://code.google.com/p/squeezeslave/downloads/list).

These include an updated portaudio library which fixes invalid sample
rate error on device open for inexactly clocked sound cards with up to a
1% deviation from 44100Hz sample rate.

If in the past you've tried to use a sound card that was listed with -L
but caused squeezeslave to crash with the error

output_thread: PortAudio error1: Invalid sample rate

then those sound cards should now work with the latest builds.

NB: squeezeslave still only supports 16-bit 44100Hz +/-1% sample rate
output.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
pdeoliveira
2012-05-29 14:42:19 UTC
Permalink
Thank you, Ralphy for your answer and all the helpful information.
I'll have another look into the code asap and I'll keep you informed.


------------------------------------------------------------------------
pdeoliveira's Profile: http://forums.slimdevices.com/member.php?userid=45641
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-06-05 08:19:30 UTC
Permalink
Here's another squeezeslave-as-a-service setup script. This one will
configure a squeezeslave service for debian distros and for fedora.
Mostly, I worked this up as an exercise in creating an interactive
service install script using whiptail and to create a script that
supported both sysv style init scripts as well as systemd unit files.
It turned out to be a much bigger chore than I anticipated. Anyway,
here it is, in the attached zip file. And this is what the whiptail
setup menu looks like:


+-------------------------------------------------------------------+
|Filename: config-squeezeslave.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13449|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
minscof
2012-06-23 10:51:05 UTC
Permalink
Hi,

I have a problem already reported by other people about squeezeslave
that seems to hang after inactivity. I run squeezeslave on an linux/arm
device using version 1.2.337 from
http://code.google.com/p/squeezeslave/downloads/list. The problem is
reproducible : I get it each time when a song ends and there is nothing
more to play. Then I must stop squeezeslave using kill -9 and start it
again. I use an usb audio card (same problem with the 2 different
cards), so it is a generic driver, and I think I cannot upgrade it. I
use the latest archlinux for arm device :
3.1.10-11-ARCH

My device is an iconnect from iomega
(http://archlinuxarm.org/forum/viewtopic.php?f=27&t=1472)

Can you help me ?

Ty
Minscof


------------------------------------------------------------------------
minscof's Profile: http://forums.slimdevices.com/member.php?userid=52139
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
minscof
2012-06-30 17:30:05 UTC
Permalink
I didn't find a solution to my trouble with squeezeslave, so I switch to
squeezeplay + xvfb and it is perfect.

See https://aur.archlinux.org/packages.php?ID=56769 to get squeezeplay
for archlinux, just need to add xvfb (a dummy xserver)


------------------------------------------------------------------------
minscof's Profile: http://forums.slimdevices.com/member.php?userid=52139
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-07-16 18:36:35 UTC
Permalink
Quick (trivial) question about squeezeslave-1.2-365-osx running on my
2011 Mac-Mini, OS X Lion:

Despite using --name HDMI or --output 2 with squeezeslave, I can't get
any sound if there is a stereo-miniplug plugged into the headphone
socket. VLC, if it's ouput is set to HDMI, doesn't have this problem
and I'll get sound from my HDMI connected monitor's speakers. Any idea
why this should be so?

Anyway, I'm finding that booting into Lion is such a PITA that I'm
finding excuses not to do so. Lion doesn't play well with my KVM
[unlike windows 7 or Fedora on the same hardware] so I end up having to
now switch both video AND audio connectors.


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-17 11:00:56 UTC
Permalink
gharris999 wrote:
> Quick (trivial) question about squeezeslave-1.2-365-osx running on my
> 2011 Mac-Mini, OS X Lion:
>
> Despite using --name HDMI or --output 2 with squeezeslave, I can't get
> any sound if there is a stereo-miniplug plugged into the headphone
> socket. VLC, if it's ouput is set to HDMI, doesn't have this problem
> and I'll get sound from my HDMI connected monitor's speakers. Any idea
> why this should be so?
>
> Anyway, I'm finding that booting into Lion is such a PITA that I'm
> finding excuses not to do so. Lion doesn't play well with my KVM
> [unlike windows 7 or Fedora on the same hardware] so I end up having to
> now switch both video AND audio connectors.

Do you see the same behaviour with ' r345'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-345-osx.tar.gz)?

I updated the portaudio library in r365 and I've noticed a couple other
"weird" issues with the windows build as well.

Can you provide the output from -L with r365 so I can try to reproduce
on my mini as well?


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-07-17 14:11:41 UTC
Permalink
./squeezeslave-1.2-345 -L (with mini-plug in headphone socket)

Code:
--------------------

Output devices:
* 1: (Core Audio) Built-in Output (2/12)
2: (Core Audio) HDMI (3/12)

--------------------

./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)

Code:
--------------------

Output devices:
1: (Core Audio) Built-in Output (2/12)
* 2: (Core Audio) HDMI (3/12)

--------------------


./squeezeslave-1.2-365 -L (with mini-plug in headphone socket)

Code:
--------------------

Output devices:
* 1: (Core Audio) Built-in Output (2/12)
2: (Core Audio) HDMI (3/12)

--------------------

./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)

Code:
--------------------

Output devices:
1: (Core Audio) Built-in Output (2/12)
* 2: (Core Audio) HDMI (3/12)

--------------------

--so no difference there.

Running squeezeslave-1.2-345 with the following plist:

Code:
--------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>Squeezeslave</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/squeezeslave-1.2-345</string>
<string>--retry</string>
<string>--output 2</string>
<string>--debuglog /var/tmp/squeezeslave.log</string>
<string>--debug slimaudio_output</string>
<string>--mac 00:04:20:9b:61:1a</string>
<string>localhost</string>
</array>
</dict>
</plist>

--------------------

..it seems to exhibit the same behavior as 365.

Interestingly, if I launchctl squeezeslave with the mini-plug out, it
plays (as expected) -- but continues playing if I then plug in the
mini-plug. With the mini-plug remaining in, if I launchctl unload &
then load, it doesn't play.

So...perhaps this is an annoying quirk of OS X Lion more than anything
else. Still, I'd like to know how VLC manages to work around this
problem.


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
MusicManiac
2012-07-18 02:21:31 UTC
Permalink
[image:
http://dl.dropbox.com/u/16683719/Squeezeslave%20Files/SqueezeWRTsm.jpg]
'(Downloads code.google)'
(http://code.google.com/p/squeezeslave/downloads/list?q=label:OpSys-OpenWRT)
Updated packages for 'Backfire' and added 'Attitude Adjustment'.

Any package questions/problems feel free to PM me.

Thanks again to Ralphy for his hard work on Squeezeslave and continued
guidance.

~MusicManiac


------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-21 13:30:29 UTC
Permalink
MusicManiac wrote:
> Updated packages for 'Backfire' and added 'Attitude Adjustment'.
>
> Any package questions/problems feel free to PM me.
>
> Thanks again to Ralphy for his hard work on Squeezeslave and continued
> guidance.
>
> ~MusicManiac

and thank you for building the openwrt packages. :)


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-22 11:03:55 UTC
Permalink
Just uploaded an ' armhf build'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-367-armhf-lnx31.tar.gz)
of squeezeslave.
Requires Debian Arm Hard Float (armhf) distribution or the new raspbian
port.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-19 16:05:52 UTC
Permalink
gharris999 wrote:
>
> ..it seems to exhibit the same behavior as 365.
>
> Interestingly, if I launchctl squeezeslave with the mini-plug out, it
> plays (as expected) -- but continues playing if I then plug in the
> mini-plug. With the mini-plug remaining in, if I launchctl unload &
> then load, it doesn't play.
>
> So...perhaps this is an annoying quirk of OS X Lion more than anything
> else. Still, I'd like to know how VLC manages to work around this
> problem.
I suspect it's portaudio as it currently doesn't support hotplugging
devices.

VLC appears to use CoreAudio directly, I'll confirm on the weekend.

Can you attach the debug log as you have enabled slimaudio_output it may
provide additional clues?

Thanks.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-07-19 22:43:00 UTC
Permalink
ralphy wrote:
> I suspect it's portaudio as it currently doesn't support hotplugging
> devices.
>
> VLC appears to use CoreAudio directly, I'll confirm on the weekend.
>
> Can you attach the debug log as you have enabled slimaudio_output it may
> provide additional clues?
>
> Thanks.Actually, I never did get anything _at_all_ to show up in the log. I
did everything I could think of to make the file writeable by
squeezeslave (chmod 777, etc.) Not sure what I did wrong there, but I
still have a zero-byte, empty file.


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-20 11:12:19 UTC
Permalink
gharris999 wrote:
> Actually, I never did get anything _at_all_ to show up in the log. I
> did everything I could think of to make the file writeable by
> squeezeslave (chmod 777, etc.) Not sure what I did wrong there, but I
> still have a zero-byte, empty file.

This works for me on Lion.

Code:
--------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>Squeezeslave</string>
<key>ProgramArguments</key>
<array>
<string>/Users/ralphy/bin/squeezeslave</string>
<string>-nSennheiser USB Headset</string>
<string>-r15</string>
<string>-dslimaudio_decoder_r</string>
<string>-m00:00:00:00:00:38</string>
<string>-Y/Users/ralphy/bin/squeezeslave.log</string>
<string>-F</string>
</array>
</dict>
</plist>

--------------------



Code:
--------------------

$ ls -l /Users/ralphy/bin/squeezeslave.log
-rw-r--r-- 1 root staff 18311 Jul 16 10:57 /Users/ralphy/bin/squeezeslave.log

--------------------



Code:
--------------------

$ tail /Users/ralphy/bin/squeezeslave.log
Retry in 15 seconds.
Retry in 15 seconds.
Error connecting to 192.168.135.246:3483
Connection to Squeezebox Server 192.168.135.246 failed.
Retry in 15 seconds.
Named device match failed, using default.
sendto: No route to host
Discover failed.
Retry in 15 seconds.
sendto: No route to host

--------------------


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
gharris999
2012-07-20 22:26:23 UTC
Permalink
ralphy wrote:
> Can you attach the debug log as you have enabled slimaudio_output it may
> provide additional clues?
>
> Thanks.

Finally managed to get -dslimaudio_output to write to the log.

Code:
--------------------
Fri Jul 20 16:20:55 MDT 2012
ay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
audg cmd: left_gain:20736 right_gain:20736 volume:0.316406 old_left_gain:90 old_right_gain:90
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:9472 right_gain:9472 volume:0.316406 old_left_gain:69 old_right_gain:69
vol_adjust:0.144531 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:4352 right_gain:4352 volume:0.144531 old_left_gain:50 old_right_gain:50
vol_adjust:0.066406 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:2048 right_gain:2048 volume:0.066406 old_left_gain:33 old_right_gain:33
vol_adjust:0.031250 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:993 right_gain:993 volume:0.031250 old_left_gain:18 old_right_gain:18
vol_adjust:0.015152 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:473 right_gain:473 volume:0.015152 old_left_gain:7 old_right_gain:7
vol_adjust:0.007217 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:223 right_gain:223 volume:0.007217 old_left_gain:1 old_right_gain:1
vol_adjust:0.003403 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:0 right_gain:0 volume:0.003403 old_left_gain:0 old_right_gain:0
vol_adjust:0.000000 replay_gain:1.000000 start_replay_gain:1.000000
slimaudio_output_pause: state=3
output_thread PAUSE: 461
output_thread PAUSED: 461
slimaudio_output_disconnect: state=5
slimaudio_output_disconnect: state=6
output_thread STOP: 461
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
audg cmd: left_gain:20736 right_gain:20736 volume:0.000000 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
slimaudio_output_connect: state=7
slimaudio_output_connect: state=4
audg cmd: left_gain:20736 right_gain:20736 volume:0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread PAUSE: 0
output_thread PAUSED: 0
slimaudio_output_unpause: state=5
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 0 output_threshold: 211680 buffering_timeout: 12
slimaudio_output_unpause: state=1
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 819200 output_threshold: 211680 buffering_timeout: 11
output_thread PLAY: start stream: 0
pa_callback: STREAM_START:output_STMs:1 tracks:0
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
slimaudio_output_disconnect: state=3
slimaudio_output_disconnect: state=6
output_thread STOP: 461
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
output_thread: PortAudio terminated
audg cmd: left_gain:20736 right_gain:20736 volume:1.000000 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:-1.000000 start_replay_gain:1.000000
paDeviceInfo->deviceid 2
paDeviceInfo->maxOutputChannels 2
outputParameters.suggestedLatency 0.012875
paDeviceInfo->defaultHighOutputLatency 0.012875
paDeviceInfo->defaultLowOutputLatency 0.003542
paDeviceInfo->defaultSampleRate 48000.000000
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
audg cmd: left_gain:20736 right_gain:20736 volume:-0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:-1.000000 start_replay_gain:1.000000
slimaudio_output_connect: state=7
slimaudio_output_connect: state=4
audg cmd: left_gain:20736 right_gain:20736 volume:-0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread PAUSE: 0
output_thread PAUSED: 0
slimaudio_output_unpause: state=5
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 81920 output_threshold: 211680 buffering_timeout: 12
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 819200 output_threshold: 211680 buffering_timeout: 11
output_thread PLAY: start stream: 0
pa_callback: STREAM_START:output_STMs:1 tracks:0
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
..etc.

--------------------


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-23 11:44:26 UTC
Permalink
gharris999 wrote:
> Quick (trivial) question about squeezeslave-1.2-365-osx running on my
> 2011 Mac-Mini, OS X Lion:
>
> Despite using --name HDMI or --output 2 with squeezeslave, I can't get
> any sound if there is a stereo-miniplug plugged into the headphone
> socket. VLC, if it's ouput is set to HDMI, doesn't have this problem
> and I'll get sound from my HDMI connected monitor's speakers. Any idea
> why this should be so?
>
> Anyway, I'm finding that booting into Lion is such a PITA that I'm
> finding excuses not to do so. Lion doesn't play well with my KVM
> [unlike windows 7 or Fedora on the same hardware] so I end up having to
> now switch both video AND audio connectors.

I confirmed that vlc used coreaudio directly and there's talk of
portaudio support being removed altogether.

>From the slimaudio_output log it appears that portaudio is confused as
squeezeslave should not open the device at 48KHz which the log clearly
shows it has.

paDeviceInfo->deviceid 2
paDeviceInfo->maxOutputChannels 2
paDeviceInfo->defaultSampleRate 48000.000000

I was unable to reproduce this on my mid-2010 mini at home running snow
leopard and I don't have access to hdmi equipment at the office where my
2011 mini running lion lives.

Until portaudio supports hot plug devices, I can't see being able to fix
this issue anyway.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
dborod
2012-07-27 04:21:33 UTC
Permalink
Hi,

I just installed mountain lion on my mac mini and noticed that
squeezeslave was streaming the audio to a different output than before
the upgrade.

Editing the plist file fixed the issue.

Just wanted to get this into the thread in case someone else has a
similar problem.


------------------------------------------------------------------------
dborod's Profile: http://forums.slimdevices.com/member.php?userid=21049
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
dborod
2012-07-27 04:40:25 UTC
Permalink
I just upgraded to mountain lion, and on my machine, squeezeslave -L now
returns

Output devices:
0: (Core Audio) AirPlay (6000/60000)
* 2: (Core Audio) Built-in Output (1/10)
3: (Core Audio) Soundflower (2ch) (0/0)
4: (Core Audio) Soundflower (16ch) (0/0)

There's an airport express device in my kitchen, but when specifying
this output device in the plist file there's no sound that emerges from
the device.

I currently use Airfoil to stream Soundflower (2ch) to the airport
express base station, but would prefer to just stream to it directly.

I'm using version 1.2-311 of your excellent software.

Am I doing something wrong, or is squeezeslave just not able to handle
this yety?

Thanks.


------------------------------------------------------------------------
dborod's Profile: http://forums.slimdevices.com/member.php?userid=21049
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-27 11:30:00 UTC
Permalink
I have not tested squeezeslave on 10.8

First, do you get sound if you use the default built in output?

Then grab the 'latest beta build from googlecode'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-365-osx.tar.gz).

Again, try the built in output (-o2), if it works,then try the AirPlay
(-o0) one.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
dborod
2012-07-27 19:09:59 UTC
Permalink
ralphy wrote:
> I have not tested squeezeslave on 10.8
>
> First, do you get sound if you use the default built in output?
>
> Then grab the 'latest beta build from googlecode'
> (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-365-osx.tar.gz).
>
> Again, try the built in output (-o2), if it works,then try the AirPlay
> (-o0) one.

I'll have to wait till I'm home later to test it, but in examining a
problem with squeezeplay, it seems that mountain lion changes the output
numbers if you have an airplay device (apple tv or AEBS).

I suspect that everything still works properly. I guess I should refer
to them by name instead of number.


------------------------------------------------------------------------
dborod's Profile: http://forums.slimdevices.com/member.php?userid=21049
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-07-28 10:30:25 UTC
Permalink
dborod wrote:
> I'll have to wait till I'm home later to test it, but in examining a
> problem with squeezeplay, it seems that mountain lion changes the output
> numbers if you have an airplay device (apple tv or AEBS).
>
> I suspect that everything still works properly. I guess I should refer
> to them by name instead of number.

Yes, using -n would be best.

I see you got squeezeplay working to the airplay device, that's great.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-01 12:52:02 UTC
Permalink
'Test build available on googlecode.'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-369-oi-intel.tar.gz)

Try the OSS binary first.

The SADA binary includes hardware mixer support but is limited to very
few devices.

Built on 151a5.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Wiredcharlie
2012-08-12 23:17:13 UTC
Permalink
Ralphy,

Thanks for your hard work!

Regarding the Raspbian port for the Raspberry Pi - I can't get it to
work. If I use the -I switch, it correctly reports my server. If I use
the -L switch it sees audio devices. But if I actually try to connect
with an ip or -F, it closes after a few seconds.

Any ideas?

Tony


------------------------------------------------------------------------
Wiredcharlie's Profile: http://forums.slimdevices.com/member.php?userid=35115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-14 11:13:18 UTC
Permalink
Wiredcharlie wrote:
> Ralphy,
>
> Thanks for your hard work!
>
> Regarding the Raspbian port for the Raspberry Pi - I can't get it to
> work. If I use the -I switch, it correctly reports my server. If I use
> the -L switch it sees audio devices. But if I actually try to connect
> with an ip or -F, it closes after a few seconds.
>
> Any ideas?
>
> Tony
I'd guess there's an issue with your network.

There have been 80 downloads of the raspbian port and you're the first
to report any issues.

Without more details it's hard to know.

What is the complete command line you use when it fails?

Add -dslimproto -dslimaudio_http -Ycloses.log before the IP address and
post a zip with the log file after squeezeslave closes.

Even if we do find an issue, I don't have a PI readily available to
rebuild squeezeslave.
Thomas of squeezeplug fame provided access to a PI to build the current
port.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
tobyjug
2012-08-14 18:24:54 UTC
Permalink
Hi I've just come across squeezeslave and it seems to be exactly what
I've been looking for apart from, I can't get it working with the device
I want.

I'm running Windows 7 Enterprise 64bit.

The devices I have are listed below

C:\Users\peter.ryan>C:\Users\peter.ryan\Documents\squeezeslave-1.2-366.exe
-L

Output devices:
* 8: (Windows DirectSound) Primary Sound Driver (119/239)
9: (Windows DirectSound) SPDIF Interface (TE7022 Audio w/ SPDIF)
(119/239)
10: (Windows DirectSound) Speakers / Headphones (IDT High Definition
Audio C
ODEC) (119/239)
11: (Windows DirectSound) Independent (R.T.C.) Headphones (IDT High
Definiti
on Audio CODEC) (119/239)
12: (Windows WASAPI) Speakers / Headphones (IDT High Definition Audio
CODEC)
(3/10)
13: (Windows WASAPI) SPDIF Interface (TE7022 Audio w/ SPDIF) (3/10)
14: (Windows WASAPI) Independent (R.T.C.) Headphones (IDT High
Definition Au
dio CODEC) (3/10)

Every one of the devices work apart from #13 which is the one I want to
work.

Any idea why it won't work?


------------------------------------------------------------------------
tobyjug's Profile: http://forums.slimdevices.com/member.php?userid=201
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
tobyjug
2012-08-14 21:14:57 UTC
Permalink
Ok I found out what the problem was: I hadn't got the exlusive mode
selected in the driver. Now works but just found out it doesn't support
24/96 files. I'll need to find another solution.


------------------------------------------------------------------------
tobyjug's Profile: http://forums.slimdevices.com/member.php?userid=201
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Wiredcharlie
2012-08-15 14:27:25 UTC
Permalink
Wiredcharlie wrote:
> Ralphy,
>
> Thanks for your hard work!
>
> Regarding the Raspbian port for the Raspberry Pi - I can't get it to
> work. If I use the -I switch, it correctly reports my server. If I use
> the -L switch it sees audio devices. But if I actually try to connect
> with an ip or -F, it closes after a few seconds.
>
> Any ideas?
>
> Tony

Hi Ralphy - thanks for getting back.

With command line:
***@raspberrypi /usr/bin $ squeezeslave -dslimproto -dslimaudio_http
-Y/home/pi/closes.log 192.168.1.100

closes.log:
----------------------------------------------------------------------------------------
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
slimproto_connect: (192.168.1.100, 3483)
proto_close: state 1
proto_close: not connected
http_thread state 2
proto_thread: state=2
proto_sigpipe: MSG_NOSIGNAL
proto_connect: connected to 192.168.1.100
proto_thread: state=3
proto_send: cmd=HELO len=36
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=audg len=24
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: (1) n=0 msg=Success(0)
proto_close: state 3
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
proto_close: state 1
proto_close: not connected



--------------------


***@raspberrypi /usr/bin $ squeezeslave -L
Output devices:
0: (ALSA) bcm2835 ALSA: bcm2835 ALSA (hw:0,0) (11/46)
1: (ALSA) sysdefault (11/46)
* 2: (ALSA) default (11/46)

***@raspberrypi /usr/bin $ squeezeslave -I
music:9000 (192.168.1.100)

I don't understand the log file!

Thanks

Tony


------------------------------------------------------------------------
Wiredcharlie's Profile: http://forums.slimdevices.com/member.php?userid=35115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-16 11:01:29 UTC
Permalink
Wiredcharlie wrote:
> Hi Ralphy - thanks for getting back.
>
> With command line:
> ***@raspberrypi /usr/bin $ squeezeslave -dslimproto -dslimaudio_http
> -Y/home/pi/closes.log 192.168.1.100
>
> closes.log:
> ----------------------------------------------------------------------------------------
> proto_thread: state=1
> proto_thread: PROTO_CLOSED cond_wait
> slimproto_connect: (192.168.1.100, 3483)
> proto_close: state 1
> proto_close: not connected
> http_thread state 2
> proto_thread: state=2
> proto_sigpipe: MSG_NOSIGNAL
> proto_connect: connected to 192.168.1.100
> proto_thread: state=3
> proto_send: cmd=HELO len=36
> proto_recv: cmd=vfdc len=174
> proto_recv: cmd=vfdc len=174
> proto_recv: cmd=vfdc len=174
> proto_recv: cmd=audg len=24
> proto_recv: cmd=vfdc len=174
> proto_recv: cmd=vfdc len=174
> proto_recv: (1) n=0 msg=Success(0)
> proto_close: state 3
> proto_thread: state=1
> proto_thread: PROTO_CLOSED cond_wait
> proto_close: state 1
> proto_close: not connected
>
>
>
> --------------------
>
>
> ***@raspberrypi /usr/bin $ squeezeslave -L
> Output devices:
> 0: (ALSA) bcm2835 ALSA: bcm2835 ALSA (hw:0,0) (11/46)
> 1: (ALSA) sysdefault (11/46)
> * 2: (ALSA) default (11/46)
>
> ***@raspberrypi /usr/bin $ squeezeslave -I
> music:9000 (192.168.1.100)
>
> I don't understand the log file!
>
> Thanks
>
> Tony

That's okay, the log file is my debugging tool.

Looks like the server is closing the connection.

Try adding -R before the IP address, squeezeslave will then reconnect if
the connection is closed.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Wiredcharlie
2012-08-18 09:17:12 UTC
Permalink
I figured out the problem. I have another squeezeslave on my network, so
I had to give it a mac address:

squeezeslave -m 11:11:11:11:11:11 192.168.1.100

I'm getting occasional clicks though...

Thanks for your help Ralphy


------------------------------------------------------------------------
Wiredcharlie's Profile: http://forums.slimdevices.com/member.php?userid=35115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-18 11:31:48 UTC
Permalink
Wiredcharlie wrote:
> I figured out the problem. I have another squeezeslave on my network, so
> I had to give it a mac address:
>
> squeezeslave -m 11:11:11:11:11:11 192.168.1.100
>
> I'm getting occasional clicks though...
>
> Thanks for your help Ralphy

Try adding -y84 before the IP address


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
psketch
2012-08-24 13:15:41 UTC
Permalink
Hi Ralphy

Slightly odd one - I've installed the raspberry build on the current
raspbian OS (which seems to include ALSA), and after a little messing
around, everything seems to install and run fine. I can see the client
from the web control or from iPeng, turn it on and off, play tracks to
it etc.. Everything seems just fine. Except, no sound. No errors that
I can see - just not a peep out of it. The weird thing is that the AV
processor does see the stream changing - i.e. it sees a PCM 44.1kHz
stream when I hit play, and it sees the stream stop if I power down
squeezeslave through iPeng. Everything seems to work - just
silently......

Any ideas, or ideas where I could look?

ta

pete S


------------------------------------------------------------------------
psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
ralphy
2012-08-25 11:43:13 UTC
Permalink
psketch wrote:
> Hi Ralphy
>
> Slightly odd one - I've installed the raspberry build on the current
> raspbian OS (which seems to include ALSA), and after a little messing
> around, everything seems to install and run fine. I can see the client
> from the web control or from iPeng, turn it on and off, play tracks to
> it etc.. Everything seems just fine. Except, no sound. No errors that
> I can see - just not a peep out of it. The weird thing is that the AV
> processor does see the stream changing - i.e. it sees a PCM 44.1kHz
> stream when I hit play, and it sees the stream stop if I power down
> squeezeslave through iPeng. Everything seems to work - just
> silently......
>
> Any ideas, or ideas where I could look?
>
> ta
>
> pete S[/QUOT
> I'd checked the alsa mixer volume and the player volume in LMS.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
psketch
2012-08-25 21:18:53 UTC
Permalink
ralphy wrote:
>
>
>
> I'd checked the alsa mixer volume and the player volume in LMS.

Thanks Ralphy - it was the alsamixer - for some reason default was to
mute - no idea why. Un-muted and all seems to be working nicely now
:-). I know the LMS side very well, but I'm a Windows guys, so the
Linux world is a little new to me - help much appreciated.

thanks

pete S


------------------------------------------------------------------------
psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
Continue reading on narkive:
Loading...