[−][src]Function aaudio_sys::AAudioStreamBuilder_setPerformanceMode
pub unsafe extern "C" fn AAudioStreamBuilder_setPerformanceMode(
builder: *mut AAudioStreamBuilder,
mode: i32
)
Set the requested performance mode.
Supported modes are None, PowerSaving and LowLatency.
The default, if you do not call this function, is None.
You may not get the mode you requested. You can call AAudioStream_getPerformanceMode() to find out the final mode for the stream.
Available since API level 26.
Arguments
builder
- reference provided by AAudio_createStreamBuilder()mode
- the desired performance mode, eg. LowLatency