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
HephAudio
HeaderFiles
NativeAudio
Params
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
9
namespace
HephAudio
10
{
11
namespace
Native
12
{
17
struct
HEPH_API
OpenSLParams
final :
public
NativeAudioParams
18
{
23
double
renderBufferDuration_ms
;
24
29
double
captureBufferDuration_ms
;
30
32
OpenSLParams
()
33
: renderBufferDuration_ms(10), captureBufferDuration_ms(10) {}
34
};
35
}
36
}
37
#endif
HephAudioShared.h
HEPH_API
#define HEPH_API
Definition
HephShared.h:132
NativeAudioParams.h
HephAudio::Native::NativeAudioParams
base class for storing the native audio API specific parameters.
Definition
NativeAudioParams.h:15
HephAudio::Native::OpenSLParams
struct for storing the OpenSL ES specific parameters.
Definition
OpenSLParams.h:18
HephAudio::Native::OpenSLParams::captureBufferDuration_ms
double captureBufferDuration_ms
Definition
OpenSLParams.h:29
HephAudio::Native::OpenSLParams::OpenSLParams
OpenSLParams()
Definition
OpenSLParams.h:32
HephAudio::Native::OpenSLParams::renderBufferDuration_ms
double renderBufferDuration_ms
Definition
OpenSLParams.h:23
Generated by
1.11.0