mrw wrote: 
> Or perhaps not.
> 
> What is easy to overlook is "how stressed" the Radio seems to be when
> decoding aac streams. I've never looked into it in any detail, but an
> indication can be obtained by setting the 'audio.decode' logging level
> on the Radio to debug. You'll see a line, each second, looking like: > 
Code:
--------------------
  >   > Jan  7 15:01:52 squeezeplay: INFO   audio.decode - Playback.lua:447 
0.2%/66.0%
--------------------
> > 
> The first number is the proportion of the stream buffer available to
> be filled, i.e. by fetching from the server. The second number is the
> proportion of the output buffer occupied by decoded samples waiting to
> be played out.
> 
> When playing aac streams, particularly high bit rate streams from the
> BBC (R3 aac @ 320k), that first number generally seems to stay in the
> 0%->2% range. This is true both with the 'old/stock' firmware and its
> 'private' aac decoder, and with the 'new' firmware. SqueezePlay will
> not fetch any audio stream data from the server (either LMS or a
> remote server) while the decoder is running.
> 
> Compare this with, say, a Touch (I don't have one, so I can't, but
> would be interested to see the results), or an MP3 stream.
> 
> I hypothesize that the fact that the stream buffer is being scarcely
> filled adversely influences the Radio's resilience to stream
> interruption and/or temporary glitches.
> *EDIT:* Well, the "low" level of stream buffer fullness also seems to
> be true for some MP3 streams as well. So perhaps not that much of an
> issue, really.
> 
> It's possible that matters might be improved by increasing the
> 'decodeThreshold'. At present it seems to be set at 2,048 bytes,
> meaning that the decoder will start as soon as 2,048 bytes are
> available. But  the stream buffer doesn't really seem have the chance
> to fill. It might be worth experimenting to see if increasing it (for
> aac streams) to a substantially larger number might help resilience. I
> might give that a go at some point.

FWIW these are my figures

Code:
--------------------
    Jan  7 17:12:58 squeezeplay: INFO   audio.decode - Playback.lua:448 
9.1%/5.6%
  Jan  7 17:12:59 squeezeplay: INFO   audio.decode - Playback.lua:448 10.0%/7.5%
  Jan  7 17:13:00 squeezeplay: INFO   audio.decode - Playback.lua:448 7.2%/19.7%
  Jan  7 17:13:01 squeezeplay: INFO   audio.decode - Playback.lua:448 4.3%/31.4%
  Jan  7 17:13:02 squeezeplay: INFO   audio.decode - Playback.lua:448 
10.8%/34.8%
  Jan  7 17:13:03 squeezeplay: INFO   audio.decode - Playback.lua:448 8.6%/42.4%
  Jan  7 17:13:05 squeezeplay: INFO   audio.decode - Playback.lua:448 6.6%/47.0%
  Jan  7 17:13:06 squeezeplay: INFO   audio.decode - Playback.lua:448 4.8%/51.4%
  Jan  7 17:13:07 squeezeplay: INFO   audio.decode - Playback.lua:448 2.7%/55.9%
  Jan  7 17:13:08 squeezeplay: INFO   audio.decode - Playback.lua:448 0.7%/60.9%
  Jan  7 17:13:09 squeezeplay: INFO   audio.decode - Playback.lua:448 7.5%/60.5%
  Jan  7 17:13:10 squeezeplay: INFO   audio.decode - Playback.lua:448 5.7%/64.8%
  Jan  7 17:13:11 squeezeplay: INFO   audio.decode - Playback.lua:448 3.8%/69.1%
  Jan  7 17:13:12 squeezeplay: INFO   audio.decode - Playback.lua:448 2.0%/73.3%
  Jan  7 17:13:13 squeezeplay: INFO   audio.decode - Playback.lua:448 0.1%/77.2%
  Jan  7 17:13:14 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/66.1%
  Jan  7 17:13:15 squeezeplay: INFO   audio.decode - Playback.lua:448 7.0%/65.4%
  Jan  7 17:13:16 squeezeplay: INFO   audio.decode - Playback.lua:448 5.1%/69.8%
  Jan  7 17:13:18 squeezeplay: INFO   audio.decode - Playback.lua:448 3.1%/74.6%
  Jan  7 17:13:19 squeezeplay: INFO   audio.decode - Playback.lua:448 1.3%/79.2%
  Jan  7 17:13:20 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/78.6%
  Jan  7 17:13:21 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/66.0%
  Jan  7 17:13:22 squeezeplay: INFO   audio.decode - Playback.lua:448 6.6%/68.3%
  Jan  7 17:13:23 squeezeplay: INFO   audio.decode - Playback.lua:448 4.1%/78.9%
  Jan  7 17:13:24 squeezeplay: INFO   audio.decode - Playback.lua:448 1.5%/89.3%
  Jan  7 17:13:25 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/91.5%
  Jan  7 17:13:26 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/79.7%
  Jan  7 17:13:27 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/68.7%
  Jan  7 17:13:28 squeezeplay: INFO   audio.decode - Playback.lua:448 7.2%/65.7%
  Jan  7 17:13:29 squeezeplay: INFO   audio.decode - Playback.lua:448 5.3%/70.1%
  Jan  7 17:13:30 squeezeplay: INFO   audio.decode - Playback.lua:448 3.5%/73.8%
  Jan  7 17:13:32 squeezeplay: INFO   audio.decode - Playback.lua:448 0.8%/79.4%
  Jan  7 17:13:33 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/73.7%
  Jan  7 17:13:34 squeezeplay: INFO   audio.decode - Playback.lua:448 5.6%/65.5%
  Jan  7 17:13:35 squeezeplay: INFO   audio.decode - Playback.lua:448 5.7%/70.2%
  Jan  7 17:13:36 squeezeplay: INFO   audio.decode - Playback.lua:448 3.9%/75.1%
  Jan  7 17:13:37 squeezeplay: INFO   audio.decode - Playback.lua:448 2.0%/80.2%
  Jan  7 17:13:38 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/84.9%
  Jan  7 17:13:39 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/73.1%
  Jan  7 17:13:40 squeezeplay: INFO   audio.decode - Playback.lua:448 1.8%/63.1%
  Jan  7 17:13:41 squeezeplay: INFO   audio.decode - Playback.lua:448 6.3%/65.6%
  Jan  7 17:13:43 squeezeplay: INFO   audio.decode - Playback.lua:448 4.3%/71.0%
  Jan  7 17:13:44 squeezeplay: INFO   audio.decode - Playback.lua:448 1.7%/79.5%
  Jan  7 17:13:45 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/81.5%
  Jan  7 17:13:46 squeezeplay: INFO   audio.decode - Playback.lua:448 0.0%/69.5%
  Jan  7 17:13:47 squeezeplay: INFO   audio.decode - Playback.lua:448 5.4%/62.0%
  Jan  7 17:13:48 squeezeplay: INFO   audio.decode - Playback.lua:448 5.9%/65.3%
  Jan  7 17:13:49 squeezeplay: INFO   audio.decode - Playback.lua:448 3.9%/70.0%
--------------------


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113479

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

Reply via email to