Hi all - Hope this isn't too OT - I've been playing with the file extention mapper VFS module for samba (http://file-ext-map.sourceforge.net/) to play flac files on my Audiotron. The above module takes any *.flac file and presents it as a *.wav to the client, and decodes on the fly when the file is read. It seems to work pretty well, but I often get the first second or so of a song repeated, and I think this is because the vfs module isn't able to seek on the pipe it opens to the flac process. I'm still trying to work out what the audiotron is doing in terms of seeks etc. Needless to say, this is quite annoying, I flac'd my cds for audio quality, and hearing the first second twice detracts quite a lot. :) So on to the question. I assume that it should be possible to write a samba VFS module that talks directly to libflac, rather than opening pipes etc to the cmdline process, and perhaps this would give me the ability to do more or less proper seeks.... does this sound possible? Does it sound like a sane approach? Anybody want to help? ;-) -Eric
I did talk with him; his input was that it "sounds cool" but I wonder how hard it would be to make the flac decoder output look like a seekable file descriptor... -Eric On Wed, 2004-03-31 at 15:04, Josh Coalson wrote:> I'm not sure Bery (the author) is subscribed here; he's probably > the best one to ask first. > > Josh
I'm not sure Bery (the author) is subscribed here; he's probably the best one to ask first. Josh --- Eric Sandeen <sandeen@sandeen.net> wrote:> Hi all - > > Hope this isn't too OT - I've been playing with the file extention > mapper VFS module for samba (http://file-ext-map.sourceforge.net/) to > play flac files on my Audiotron. The above module takes any *.flac > file > and presents it as a *.wav to the client, and decodes on the fly when > the file is read. It seems to work pretty well, but I often get the > first second or so of a song repeated, and I think this is because > the > vfs module isn't able to seek on the pipe it opens to the flac > process. > I'm still trying to work out what the audiotron is doing in terms of > seeks etc. > > Needless to say, this is quite annoying, I flac'd my cds for audio > quality, and hearing the first second twice detracts quite a lot. :) > > So on to the question. I assume that it should be possible to write > a > samba VFS module that talks directly to libflac, rather than opening > pipes etc to the cmdline process, and perhaps this would give me the > ability to do more or less proper seeks.... does this sound possible? > > Does it sound like a sane approach? Anybody want to help? ;-) > > -Eric__________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html