AOAudioPlaybackAdaptor() -> new AOAudioPlaybackAdaptor
Expects to recieve data from standard inbox, and plays it using libao. When it recieves a message on the control port: Sends a producerConsumed to its outbox. Then shutsdown.
Requires libao and pyao (python bindings)
Example
A simple player:
pipeline(
ReadFileAdaptor("somefile.ogg"),
VorbisDecode(),
AOAudioPlaybackAdaptor(),
).run()
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. |