georgec wrote: 
> I've long had the same problem when streaming Apple Lossless files with
> long filenames to my Transporter.  Since the Transporter doesn't support
> ALAC natively, LMS uses the "faad" helper app to transcode ALAC to AIFF.
> 
> 
> Here's what I found looking through the faad source (downloaded from
> //svn.slimdevices.com/repos/slim/7.5/trunk/vendor/faad2/).  I think the
> problem can be traced to the "main.c" declarations:
> 
> char aacFileName[255];
> *char audioFileName[255];*
> char adtsFileName[255];
> 
> When using iTunes to organize my music library, it's pretty easy to have
> a pathname that exceeds 255 characters - iTunes uses the name of the
> track to set the filename.  Here's an example from my library that clock
> in at 339 characters.  
> 
> -/Volumes/Drobo1/iTunes Library/Music/Compilations/The Glenn Gould
> Silver Jubilee Album/2-01 A Glenn Gould Fantasy (Glenn Gould in
> conversation with Margaret Pacsu, Márta Hortaványi, Theodore Slutz,
> Sir Nigel Twitt-Thornwaite, Dr. Karlheinz Klopweisser, with special
> guest appearances by Duncan Haig-Guinness, Byron Rossiter, Cassie
> Ma.m4a-
> 
> When I try to play the track, the Transporter displays a "Could not find
> file..." message.
> 
> After changing the above array lengths from 255 to 511 and stumbling
> through the "buildme-osx.sh" script line-by-line (I had to modify a line
> that invokes "MacOSX10.4u.sdk", which doesn't exist on newer versions of
> MacOS), I managed to build a new faad MacOS Unix executable file that
> doesn't exhibit the 255 character pathname limitation.  Problem solved,
> as far as I'm concerned.
> 
> It appears that this same bug was identified for Ubuntu's faad, and they
> have an even better fix by using dynamic memory allocation instead of
> fixed-length character strings:
> 
> char *audioFileName = NULL;
> ...
> audioFileName = (char *) malloc(sizeof(char) *
> (strlen(optarg) + 1));
> ....
> 
> LMS's faad distribution hasn't been updated since 2010, so I don't know
> if it's considered worthwhile to file this as a bug report and get a fix
> incorporated into the LMS distribution.  Thanks to the OP for laying out
> the original clues, and I hope this additional info helps.

Yes it will help to file a bug report if faad is actualy built from
source in the LMS development (as oposed just some add on installed on
your system like lame ).

I think we have these versions because some special patches needed by
LMS.

Further it would be worthwhile to check the other helper apps built with
special patches likes SoX ti see if something like this is a problem ?
Or some imaga scaler or whatnot ?



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=107090

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

Reply via email to