8#ifndef META_OCEAN_MEDIA_ANDROID_A_MICROPHONE_H
9#define META_OCEAN_MEDIA_ANDROID_A_MICROPHONE_H
16#include <SLES/OpenSLES_Android.h>
42 static constexpr SLuint32 numberBuffers_ = 4u;
97 static constexpr size_t monoChunkElements();
106 AMicrophone(
const SLEngineItf& slEngineInterface,
const std::string& url);
160 SLObjectItf slRecorder_ =
nullptr;
163 SLRecordItf slRecordInterface_ =
nullptr;
166 SLAndroidSimpleBufferQueueItf slBufferQueueInterface_ =
nullptr;
172 SLAndroidEffectItf slAcousticEchoCancelEffect_ =
nullptr;
175 SLInterfaceID slAcousticEchoCancelerEffectImplementationId_ =
nullptr;
180 constexpr size_t samplesPerSecondMono = 48000;
182 return samplesPerSecondMono / 50;
This class implements a timestamp.
Definition Timestamp.h:63
The namespace covering the entire Ocean framework.
Definition Accessor.h:15