ralphy;658550 Wrote: 
> @s7mx1
> 
> Squeezeslave does not open/close the audio device during pause/resume. 
> It opens the device when squeezeslave starts and keeps it open until the
> program exits.  It's more likely the issue is related to power saving
> where the tablet is turning off the audio hardware and the port audio
> library is not notified of the event.
> 
> If you pause and resume within a few seconds do you see the same
> effect?
> 
> Is there a way to verify what state the audio hardware is in after
> you've paused squeezeslave for a longer time?
> 
> I'll check the portaudio change logs for a similiar issue.  I'm using a
> older snapshot of the PA library.  If there's a fix for a similiar issue
> I'll make a newer PA source tar file for you to try.

@ralphy

I did a bit experiments by playing back continuously (as a loop) an mp3
file using gstreamer with alsa output. The gstreamer was started as
exactly like squeezeslave over a console and I did not have a single
problem with gstreamer at all. Playing back mp3 in a loop should keep
the audio device busy thus would rule out any power saving. However I
still get see this paTimedOut error message.

I think its more to do with Pa_StartStream and its callback functions.
How difficult would it be to replace portaudio by pulseaudio in
slimaudio_output?

Here is the pulseaudio simple api 
http://www.freedesktop.org/software/pulseaudio/doxygen/simple.html


-- 
s7mx1
------------------------------------------------------------------------
s7mx1's Profile: http://forums.slimdevices.com/member.php?userid=47093
View this thread: http://forums.slimdevices.com/showthread.php?t=83362

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to