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.logCode:$ 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
Results 61 to 70 of 140
-
2012-07-20, 04:12 #61Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.
-
2012-07-20, 15:26 #62
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.
-
2012-07-21, 06:30 #63Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.
-
2012-07-22, 04:03 #64
Just uploaded an armhf build of squeezeslave.
Requires Debian Arm Hard Float (armhf) distribution or the new raspbian port for the raspberry pi.Last edited by ralphy; 2012-07-22 at 04:06.
Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.
-
2012-07-23, 04:44 #65
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
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.
-
2012-07-26, 21:21 #66Member
- Join Date
- Nov 2008
- Location
- Canada
- Posts
- 66
Different output devices in Mountain Lion
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.
-
2012-07-26, 21:40 #67Member
- Join Date
- Nov 2008
- Location
- Canada
- Posts
- 66
Streaming to AirPlay
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.
-
2012-07-27, 04:30 #68
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.
Again, try the built in output (-o2), if it works,then try the AirPlay (-o0) one.Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.
-
2012-07-27, 12:09 #69Member
- Join Date
- Nov 2008
- Location
- Canada
- Posts
- 66
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.
-
2012-07-28, 03:30 #70Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.


Reply With Quote

