HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
OpenSLParams.h
Go to the documentation of this file.
1#pragma once
2#if defined(__ANDROID__) && __ANDROID_API__ >= HEPHAUDIO_ANDROID_OPENSL_MIN_API_LEVEL
3#include "HephAudioShared.h"
4#include "NativeAudioParams.h"
5#include <SLES/OpenSLES_Android.h>
6
9namespace HephAudio
10{
11 namespace Native
12 {
18 {
24
30
33 : renderBufferDuration_ms(10), captureBufferDuration_ms(10) {}
34 };
35 }
36}
37#endif
#define HEPH_API
Definition HephShared.h:132
base class for storing the native audio API specific parameters.
Definition NativeAudioParams.h:15
struct for storing the OpenSL ES specific parameters.
Definition OpenSLParams.h:18
double captureBufferDuration_ms
Definition OpenSLParams.h:29
OpenSLParams()
Definition OpenSLParams.h:32
double renderBufferDuration_ms
Definition OpenSLParams.h:23