40 static bool initialized =
false;
41 if (initialized)
return;
45 extern void find_all_microphones_ds();
46 find_all_microphones_ds();
50 extern void find_all_microphones_alsa();
51 find_all_microphones_alsa();
63 return _all_microphones.size();
72 nassertr((n >= 0) && (n < (
int)_all_microphones.size()),
nullptr);
73 return _all_microphones[n];
Class MicrophoneAudio provides the means to read raw audio samples from a microphone.
static void find_all_microphones()
Scans the hardware for microphones, and pushes them onto the global list of all microphones.
get_num_options
Returns the number of microphone options.
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.