I know why it works for players.  Once a player is told by mpeg4 header
that it is playing ALAC, the player uses an ALAC decoder and starts
decoding the stream it will discover the sample rate and size as it is
encoded in the audio data.  Not all formats have the sample size encoded
in the stream.

Players have decoding software whereas the LMS scan module only scans
the file MPEG4 header which descirbes the stream and metadata.  

For example, with VLC the alac atom error is picked up but because it
has ALAC decoder - it can play the stream later on

Code:
--------------------
    
  core debug: attachment of directory-extractor failed for 
file:///mnt/hddrive/home/XXX/albums/TestWMA/01flactoalacfast.m4a
  core debug: looking for stream_filter module matching "record": 26 candidates
  core debug: using stream_filter module "record"
  core debug: creating demux: access='file' demux='any' 
location='/mnt/hddrive/home/XXX/albums/TestWMA/01flactoalacfast.m4a' 
file='/mnt/hddrive/home/XXX/albums/TestWMA/01flactoalacfast.m4a'
  core debug: looking for demux module matching "mp4": 53 candidates
  mp4 warning: unknown box type alac (incompletely loaded)
  mp4 debug: dumping root Box "root"
  mp4 debug: | + ftyp size 24 offset 0
  mp4 debug: | + moov size 26622 offset 24
  mp4 debug: | | + mvhd size 108 offset 32
  mp4 debug: | | + trak size 26013 offset 140
  mp4 debug: | | | + tkhd size 92 offset 148
  .
  .
  .
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=102059

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

Reply via email to