Passed as a callback parameter, providing operations that are safe to perform from callback invocation.
Specifying if audio may or may not be captured by other apps or the system.
Value returned the data callback function.
The ContentType attribute describes "what" you are playing.
It expresses the general category of the content. This information is optional.
But in case it is known (for instance
These values are returned from AAudio functions to indicate failure.
A sample format.
Defines the audio source. An audio source defines both a default physical source of audio signal, and a recording configuration.
The Usage attribute expresses "why" you are playing a sound, what is this sound used for. This information is used by certain platforms or routing policies to make more refined volume or routing decisions.