AudioTrackPerformanceMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects an audio track's default, low-latency or power-saving performance request, subject to device support.
public enum AudioTrackPerformanceMode
type AudioTrackPerformanceMode =
- Inheritance
-
AudioTrackPerformanceMode
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Default performance mode for an AudioTrack. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| LowLatency | 1 | Low latency performance mode for an AudioTrack. If the device supports it, this mode enables a lower latency path through to the audio output sink. Effects may no longer work with such an AudioTrack and the sample rate must match that of the output sink. Applications should be aware that low latency requires careful buffer management, with smaller chunks of audio data written by each Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PowerSaving | 2 | Power saving performance mode for an AudioTrack. If the device supports it, this mode will enable a lower power path to the audio output sink. In addition, this lower power path typically will have deeper internal buffers and better underrun resistance, with a tradeoff of higher latency. In this mode, applications should attempt to use a larger buffer size and deliver larger chunks of audio data per Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.