8 #ifndef META_OCEAN_PLATFORM_META_QUEST_PLATFORMSDK_MICROPHONE_H
9 #define META_OCEAN_PLATFORM_META_QUEST_PLATFORMSDK_MICROPHONE_H
18 #include <OVR_Voip_LowLevel.h>
39 class OCEAN_PLATFORM_META_QUEST_PLATFORMSDK_EXPORT
Microphone :
53 using SampleCallback = std::function<void(
const int16_t* elements,
const size_t size)>;
91 void stop(
const unsigned int& subscriptionId);
101 unsigned int subscriptionIdCounter_ = 1u;
104 ovrMicrophoneHandle microphoneHandle_ =
nullptr;
This class implements a recursive lock object.
Definition: Lock.h:31
This class implements a subscription object which can be used unique subscriptions to e....
Definition: ScopedSubscription.h:28
This template class is the base class for all singleton objects.
Definition: Singleton.h:71
This class implements a thread.
Definition: Thread.h:115
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15