JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AndroidHighPerformanceAudioHelpers Namespace Reference

Some shared helpers methods for using the high-performance audio paths on Android devices (OpenSL and Oboe). More...

Functions

static int buffersToQueueForBufferDuration (int nativeBufferSize, int bufferDurationInMs, double sampleRate) noexcept
 
static bool canUseHighPerformanceAudioPath (int nativeBufferSize, int requestedBufferSize, int requestedSampleRate)
 
static Array< intgetAvailableBufferSizes (int nativeBufferSize, Array< double > availableSampleRates)
 
static int getDefaultBufferSize (int nativeBufferSize, double currentSampleRate)
 
static int getMaximumBuffersToEnqueue (int nativeBufferSize, double maximumSampleRate) noexcept
 
static int getMinimumBuffersToEnqueue (int nativeBufferSize, double requestedSampleRate)
 
static int getNativeBufferSizeHint ()
 
static double getNativeSampleRate ()
 
static bool hasLowLatencyAudioPath ()
 
static bool isProAudioDevice ()
 

Detailed Description

Some shared helpers methods for using the high-performance audio paths on Android devices (OpenSL and Oboe).

@tags{Audio}

Function Documentation

◆ buffersToQueueForBufferDuration()

static int juce::AndroidHighPerformanceAudioHelpers::buffersToQueueForBufferDuration ( int  nativeBufferSize,
int  bufferDurationInMs,
double  sampleRate 
)
staticnoexcept

◆ canUseHighPerformanceAudioPath()

static bool juce::AndroidHighPerformanceAudioHelpers::canUseHighPerformanceAudioPath ( int  nativeBufferSize,
int  requestedBufferSize,
int  requestedSampleRate 
)
static

◆ getAvailableBufferSizes()

◆ getDefaultBufferSize()

static int juce::AndroidHighPerformanceAudioHelpers::getDefaultBufferSize ( int  nativeBufferSize,
double  currentSampleRate 
)
static

◆ getMaximumBuffersToEnqueue()

static int juce::AndroidHighPerformanceAudioHelpers::getMaximumBuffersToEnqueue ( int  nativeBufferSize,
double  maximumSampleRate 
)
staticnoexcept

◆ getMinimumBuffersToEnqueue()

static int juce::AndroidHighPerformanceAudioHelpers::getMinimumBuffersToEnqueue ( int  nativeBufferSize,
double  requestedSampleRate 
)
static

◆ getNativeBufferSizeHint()

static int juce::AndroidHighPerformanceAudioHelpers::getNativeBufferSizeHint ( )
static

◆ getNativeSampleRate()

static double juce::AndroidHighPerformanceAudioHelpers::getNativeSampleRate ( )
static

◆ hasLowLatencyAudioPath()

static bool juce::AndroidHighPerformanceAudioHelpers::hasLowLatencyAudioPath ( )
static

◆ isProAudioDevice()

static bool juce::AndroidHighPerformanceAudioHelpers::isProAudioDevice ( )
static