WriteMode 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.
Enumerates values returned by the Blocking, and NonBlocking members and taken as a parameter of several methods of AudioTrack.
public enum WriteMode
type WriteMode =
- Inheritance
-
WriteMode
Fields
| Name | Value | Description |
|---|---|---|
| Blocking | 0 | The write mode indicating the write operation will block until all data has been written, to be used as the actual value of the writeMode parameter in write(byte[], int, int, int), write(short[], int, int, int), write(float[], int, int, int), write(ByteBuffer,int,int), and write(ByteBuffer,int,int,long). 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. |
| NonBlocking | 1 | The write mode indicating the write operation will return immediately after queuing as much audio data for playback as possible without blocking, to be used as the actual value of the writeMode parameter in write(byte[],int,int,int), write(short[], int, int, int), write(float[], int, int, int), write(ByteBuffer,int,int), and write(ByteBuffer,int,int,long). 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.