#include <OpenALAudioOStream.h>
Inheritance diagram for syn::OpenALAudioOStream:


Public Methods | |
| OpenALAudioOStream () | |
| virtual | ~OpenALAudioOStream () |
| void | setContext (syn::AudioContext &ctx) |
| virtual bool | open (const syn::AudioFormat &fmt) |
| open the stream specify the format of your data you'll be passing to write(). More... | |
| virtual bool | isOpen () |
| is the stream open? More... | |
| void | resizeBuffers (signed int numBuffers=2) |
| setup the number of buffers to use, default is double buffered (2). More... | |
| virtual bool | canAcceptMoreData () const |
| poll this function to know when to give more data to update. More... | |
| virtual bool | write (const void *const data, signed int size) |
| write samples to the sound hardware. More... | |
| virtual int | pcount () const |
| get the put count == the number of samples last written by write(). More... | |
| virtual bool | close () |
| close the stream... More... | |
| virtual void | flush () |
| virtual const syn::AudioFormat& | format () const |
| what format of audio data does this stream accept? More... | |
Definition at line 51 of file OpenALAudioOStream.h.
|
|
Definition at line 53 of file OpenALAudioOStream.cpp. |
|
|
Definition at line 55 of file OpenALAudioOStream.h. |
|
|
Definition at line 57 of file OpenALAudioOStream.h. |
|
|
open the stream specify the format of your data you'll be passing to write().
Reimplemented from syn::AudioOStream. Definition at line 103 of file OpenALAudioOStream.cpp. |
|
|
is the stream open?
Reimplemented from syn::AudioOStream. Definition at line 68 of file OpenALAudioOStream.h. |
|
|
setup the number of buffers to use, default is double buffered (2).
|
|
|
poll this function to know when to give more data to update.
Reimplemented from syn::AudioOStream. Definition at line 210 of file OpenALAudioOStream.cpp. |
|
|
write samples to the sound hardware. make sure it is still in the format you opened the steam in... samples are in terms of [channels * bytes_per_samp] |
|
|
get the put count == the number of samples last written by write().
Reimplemented from syn::AudioOStream. Definition at line 83 of file OpenALAudioOStream.h. |
|
|
close the stream...
Reimplemented from syn::AudioOStream. Definition at line 360 of file OpenALAudioOStream.cpp. Referenced by open().
|
|
|
Reimplemented from syn::AudioOStream. Definition at line 92 of file OpenALAudioOStream.cpp. |
|
|
what format of audio data does this stream accept?
Definition at line 92 of file OpenALAudioOStream.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001