ralphy wrote: > I implemented the AAC decoder for squeezeplay and later the community > firmware as Logitech never released the code as they used the closed > source fdk-aac library in the official firmware. > > I have spent some time investigating this issue but had to setup a local > server that streams AAC 320Kbps at 48KHz as unfortunately the high rate > BBC streams aren't available outside the UK. > > What's happening is the aac decoder can't push enough decoded PCM data > to the output buffer at the start of the high rate streams and jive_alsa > throws an underrun error. > > /// > > The BBC Sounds Stream throttling interval works around the problem but > might also help find proper fix in the firmware, however the stuttering > doesn't happen with the 96Kbps streams. > > Any help would be appreciated.
Interestingly, I remember when I implemented the throttling that the problem was easily reproducible. The odd thing now is, with this latest release of the firmware, I can't reproduce the problem at all, even if I set the throttling to zero, effectively turning it off. (Although i can see the impact the throttling has on the speed the input buffer on the radio fills up) So, the fact is they are getting the stuttering even with the throttling suggests this isn't the same issue at all, and something else is happening on their radio affecting the CPU time available for decoding. Also it all might be a coincidence that I got 2 reports at the same time, and they may not be related, I mentioned it here in case it was more widespread. Stuart McLean expectingtofly plugins : 'bbc sounds' (https://github.com/expectingtofly/lms_bbc_sounds_plugin),' global player (uk)' (https://github.com/expectingtofly/lms_globalplayer_plugin), 'times radio' (https://github.com/expectingtofly/lms_times_radio_plugin), 'uk radio player' (https://github.com/expectingtofly/lms_ukradioplayer_plugin), 'virgin radio (uk)' (https://github.com/expectingtofly/lms_virgin_radio_plugin) and the 'radio favourites plugin' (https://github.com/expectingtofly/lms_radio_favourites_plugin) for bbc sounds help see the 'bbc sounds wiki' (https://github.com/expectingtofly/lms_bbc_sounds_plugin/wiki). ------------------------------------------------------------------------ expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263 View this thread: http://forums.slimdevices.com/showthread.php?t=113479 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins