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];
static void find_all_microphones()
Scans the hardware for microphones, and pushes them onto the global list of all microphones.
Class MicrophoneAudio provides the means to read raw audio samples from a microphone.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PT(MicrophoneAudio) MicrophoneAudio
Returns the nth microphone option.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.