[Flac-dev] Smarter flac / samba VFS module possible?
Eric Sandeen
sandeen at sandeen.net
Tue Mar 30 08:28:08 PST 2004
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
More information about the Flac-dev
mailing list