VorbisDecode() -> new VorbisDecoder
A Vorbis decoder accepts data on its inbox "inbox", as would be read from an ogg vorbis file, decodes it and sends on the decompressed data on out of its outbox "outbox". It doesn't provide any further information at this stage, such as bitrate, or any other frills.
Requires libvorbissimple and python bindings (see kamaelia downloads)
Example
A simple player:
pipeline(
ReadFileAdaptor("somefile.ogg"),
VorbisDecode(),
AOAudioPlaybackAdaptor(),
).run()
This component expects to recieve OGG VORBIS data as you would get from a .ogg file containing vorbis data. (rather than raw vorbis data)
Warning! You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers. |