Class MicrophoneAudio provides the means to read raw audio samples from a microphone. More...
Public Member Functions | |
int | getChannels () |
Returns the number of channels. | |
list | getOptions () |
int | getRate () |
Returns the sample rate. | |
MovieAudioCursor | open () |
Open this audio, returning a MovieAudioCursor. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
static int | getNumOptions () |
Returns the number of microphone options. | |
static MicrophoneAudio | getOption (int n) |
Returns the nth microphone option. |
Class MicrophoneAudio provides the means to read raw audio samples from a microphone.
int getChannels | ( | ) |
Returns the number of channels.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from MovieAudio.
static int getNumOptions | ( | ) | [static] |
Returns the number of microphone options.
An "option" consists of a device plus a set of configuration parameters. For example, "Soundblaster Audigy Line in at 44,100 samples/sec" would be an option.
static MicrophoneAudio getOption | ( | int | n | ) | [static] |
Returns the nth microphone option.
list getOptions | ( | ) |
MovieAudioCursor open | ( | ) |
Open this audio, returning a MovieAudioCursor.
Reimplemented from MovieAudio.