Triode wrote:
> OK not that then...
>
> Squeezelite will be different in that it opens the device at 44100 and
> then closes and reopens it at the desired sample rate - I wonder if
> doing this without a pause between the two rates causes a problem.
>
> Are you able to rebuild squeezelite? If so you may want to try putting a
> sleep statement in alsa_close after closing the device. [or making the
> default sample rate 32000] I can provide a test binary if not - is this
> for the wandboard?
Code:
--------------------
static void alsa_close(snd_pcm_t *pcmp) {
int err;
if ((err = snd_pcm_close(pcmp)) < 0) {
LOG_INFO("snd_pcm_close error: %s", snd_strerror(err));
}
sleep(5);
}
--------------------
This certainly delays the start of the track, but otherwise no
difference in behaviour than before.
----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix