grexi/squeezelite

Needs option to disable generating silence when no music is playing

Opened this issue · 2 comments

For some background, see the discussion at 
https://code.google.com/p/squeezelite/issues/detail?id=35

I have managed to configure ALSA and squeezelite to not generate exceptionally 
high CPU load in these situations.  However, there is still CPU load, and it is 
measureable.

This is quite undesireable on my laptop, since it has a negative impact on 
battery life.  Even on desktops, it can translate into a larger power bill.

It would be nice for squeezelite to have an option to stop sending silence 
after a certain timeout.  15 seconds, for instance, would be great.  It could 
then be completely CPU idle when not playing anything.

Original issue reported on code.google.com by rm.rf.do...@gmail.com on 3 Jan 2015 at 7:17

Please try the new -C option included in the latest git - this will close the 
output device after the defined timeout

Original comment by trio...@btinternet.com on 11 Jan 2015 at 8:20

Is this option documented anywhere?  It does not appear in the command line 
options on the project home page.

Sadly, this option appeared in version 1.8 (1/2/2015), which still has no 
Windows build.

Original comment by m...@thismark.com on 15 Mar 2015 at 11:24