[gst-devel] Newbie questions: specialised source and sink plugins or not? etc
Josh Green
jgreen at users.sourceforge.net
Wed Jul 28 09:14:07 CEST 2004
On Wed, 2004-07-28 at 06:09, Thomas Vander Stichele wrote:
>
> It was pretty simple - audiofile only has (maybe that changed) an API
> where you specify what file to open. Ie, it didn't provide a stream
> interface. I would have prefered to have made afdec and afenc instead
> :)
>
>From looking at the audiofile headers, there is now an afOpenVirtualFile
which takes a AFvirtualfile structure which contains function pointers
for read, length, write, destroy, seek, and tell. It appears that an
additional header <af_vfs.h> needs to be included in order to use this
feature. I've written code in my own projects to use this, but haven't
tested it yet. Best regards,
Josh Green
More information about the gstreamer-devel
mailing list