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::Native::AAudioParams Struct Referencefinal

struct for storing the AAudio specific parameters. More...

#include <AAudioParams.h>

Inheritance diagram for HephAudio::Native::AAudioParams:
HephAudio::Native::NativeAudioParams

Public Member Functions

 AAudioParams ()
 
- Public Member Functions inherited from HephAudio::Native::NativeAudioParams
virtual ~NativeAudioParams ()=default
 

Public Attributes

aaudio_sharing_mode_t renderShareMode
 
aaudio_sharing_mode_t captureShareMode
 
aaudio_performance_mode_t renderPerformanceMode
 
aaudio_performance_mode_t capturePerformanceMode
 
double renderBufferDuration_ms
 
double captureBufferDuration_ms
 
aaudio_content_type_t renderContentType
 
aaudio_content_type_t captureContentType
 
aaudio_usage_t renderUsage
 
aaudio_usage_t captureUsage
 

Detailed Description

struct for storing the AAudio specific parameters.

Constructor & Destructor Documentation

◆ AAudioParams()

HephAudio::Native::AAudioParams::AAudioParams ( )
inline

creates a new instance and initializes it with default values.

Member Data Documentation

◆ renderShareMode

aaudio_sharing_mode_t HephAudio::Native::AAudioParams::renderShareMode

render share mode, AAUDIO_SHARING_MODE_SHARED or AAUDIO_SHARING_MODE_EXCLUSIVE.

◆ captureShareMode

aaudio_sharing_mode_t HephAudio::Native::AAudioParams::captureShareMode

capture share mode, AAUDIO_SHARING_MODE_SHARED or AAUDIO_SHARING_MODE_EXCLUSIVE.

◆ renderPerformanceMode

aaudio_performance_mode_t HephAudio::Native::AAudioParams::renderPerformanceMode

render performance mode.

◆ capturePerformanceMode

aaudio_performance_mode_t HephAudio::Native::AAudioParams::capturePerformanceMode

capture performance mode.

◆ renderBufferDuration_ms

double HephAudio::Native::AAudioParams::renderBufferDuration_ms

duration of the render buffer in milliseconds.

◆ captureBufferDuration_ms

double HephAudio::Native::AAudioParams::captureBufferDuration_ms

duration of the capture buffer in milliseconds.

◆ renderContentType

aaudio_content_type_t HephAudio::Native::AAudioParams::renderContentType

render content type, available for API level 28 and above.

◆ captureContentType

aaudio_content_type_t HephAudio::Native::AAudioParams::captureContentType

capture content type, available for API level 28 and above.

◆ renderUsage

aaudio_usage_t HephAudio::Native::AAudioParams::renderUsage

render usage type, available for API level 28 and above.

◆ captureUsage

aaudio_usage_t HephAudio::Native::AAudioParams::captureUsage

capture usage type, available for API level 28 and above.