Re: [slim] Announce: Alsa version of squeezeslave available

2008-12-24 Thread ralphy

I've been enjoying the new display functionality.  It makes the old
laptop more useful.  I don't need to have a browser handy anymore.

I've attached a small patch that fixes a couple of things;

1. If I restart SC the squeezeslave player disappears until I press a
key on the laptop.  No longer blocks forever waiting for a keypress.
2. Added comma and period keys, no more need to hold the shift key to
skip forward and backwards.
3. Removed a couple of annoying display messages, redirected others to
stderr, which I redirect to a file when I start squeezeslave.

I'll add the patch to sourceforge as well.

Ralphy


+---+
|Filename: display-retry.patch.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=6491|
+---+

-- 
ralphy

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=54640

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Announce: Alsa version of squeezeslave available

2008-11-19 Thread f948lan

Ralphy,

Thanks for the tip, that seems to have made a big difference.

As you seem to be maintaining squeezeslave these days, would you be
interested in adding in my patch for (optional) text display/keyboard
support under linux?

There is a patch (against 0.8.20) and some info on the thread:
http://forums.slimdevices.com/showthread.php?t=55178

Change summary is:
* ChangeLog, makefile.linux26-alsa-display,
src/slimproto/slimproto.c,
src/squeezeslave/squeezeslave.c, config/.lircrc:
- Avoid recv error reading closed connection (in slimproto.c)
- Fixup USR1 handler to allow graceful quit if retry is not enabled
- Use signal to exit default (option removed)
- Supportvariable size text display and/or LCDd display
- Support keyboard control and/or lircd control
- In curses mode (--display) Esc and Q also quit
- USR2 signal can be used to toggle LCDd/lircd support on and off
while squeezeslave is running. Useful to continue music while
display/ir is used for something else.
- Audio device list is now available as a command line option
(--list)
- Command line options have changed to support the above, see --help
- Increased version to 21.


-- 
f948lan

f948lan's Profile: http://forums.slimdevices.com/member.php?userid=3961
View this thread: http://forums.slimdevices.com/showthread.php?t=54640

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Announce: Alsa version of squeezeslave available

2008-11-19 Thread ralphy

I've merged your changes into my repository and posted new binaries for
both your alsa-display version and the standard verson and the updated
source tarball.  The alsa-display tar file includes the SC patch and
lirc config file as well.  Both binaries include the high latency patch
listed above.

Thanks for the enhancement, that'll be great on my old squeezeslave
laptop. I hope to get a chance to try out the display verson as soon as
I get a chance upgrade my test server with the 7.2.1 patch.

Ralphy


-- 
ralphy

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=54640

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Announce: Alsa version of squeezeslave available

2008-11-18 Thread ralphy

I've found that the following change greatly reduces the number of audio
drop outs in the alsa version.  I hope to have an update available
soon, but wanted to pass along this change for those who've compiled
there own binaries.

Index: src/slimaudio/slimaudio_output.c
===
--- src/slimaudio/slimaudio_output.c(revision 20)
+++ src/slimaudio/slimaudio_output.c(working copy)
@@ -208,7 +208,7 @@
outputParameters.device = audio-output_device_id;
outputParameters.channelCount = paDeviceInfo-maxOutputChannels
=2? 2 : paDeviceInfo-maxOutputChannels;
outputParameters.sampleFormat = paInt16;
-   outputParameters.suggestedLatency =
paDeviceInfo-defaultLowOutputLatency;
+   outputParameters.suggestedLatency =
paDeviceInfo-defaultHighOutputLatency;
outputParameters.hostApiSpecificStreamInfo = NULL;

DEBUGF(paDeviceInfo-maxOutputChannels %i\n,
paDeviceInfo-maxOutputChannels);


-- 
ralphy

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=54640

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss