Interesting.

Since the number of changes were limited I did some tracing and found
the offending change:


Code:
--------------------
    
  diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm
  index e3411fe0e94..786c5a8600e 100644
  --- a/Slim/Player/Squeezebox.pm
  +++ b/Slim/Player/Squeezebox.pm
  @@ -705,12 +705,8 @@ sub stream_s {
                
                # container type and bitstream format: '1' (adif), '2' (adts), 
'3' (latm within loas), 
                # '4' (rawpkts), '5' (mp4ff), '6' (latm within rawpkts)
  -             #
  -             # This is a hack that assumes:
  -             # (1) If the original content-type of the track is MP4 or SLS 
then we are streaming an MP4 file (without any transcoding);
  -             # (2) All other AAC streams will be adts.
  -             
  -             $pcmsamplesize   = Slim::Music::Info::contentType($track) =~ 
/^(?:mp4|sls)$/ ? '5' : '2';
  +
  +             $pcmsamplesize   =  $controller->song->wantFormat ne 'aac' ? 
'5' : '2';
                $pcmsamplerate   = '?';
                $pcmendian       = '?';
                $pcmchannels     = '?';
  
  
--------------------


Thanks for finding the correct method to fix this.


------------------------------------------------------------------------
gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=117085

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

Reply via email to