15 #ifndef MICROPHONEAUDIO_H 16 #define MICROPHONEAUDIO_H 18 #include "movieAudio.h" 32 static int get_num_options();
34 MAKE_SEQ(get_options, get_num_options, get_option);
36 INLINE
int get_channels()
const;
37 INLINE
int get_rate()
const;
42 static void find_all_microphones();
54 static void init_type() {
55 MovieAudio::init_type();
56 register_type(_type_handle,
"MicrophoneAudio",
57 MovieAudio::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
68 #include "microphoneAudio.I" Class MicrophoneAudio provides the means to read raw audio samples from a microphone.
A MovieAudio is actually any source that provides a sequence of audio samples.
TypeHandle is the identifier used to differentiate C++ class types.
A MovieAudio is actually any source that provides a sequence of audio samples.