Available on crate feature
audio
only.Expand description
Bindings for AAudioStream
and AAudioStreamBuilder
See the NDK guide for design and usage instructions, and the NDK reference for an API overview.
Structs
- A native
AAudioStream *
- A native
AAudioStreamBuilder *
Enums
- AudioAllowedCapturePolicy
api-level-29
Specifying if audio may or may not be captured by other apps or the system. - Value returned the data callback function.
- AudioContentType
api-level-28
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 instanceMovie
for a movie streaming service orSpeech
for an audio book application) this information might be used by the audio framework to enforce audio focus. - AudioInputPreset
api-level-28
Defines the audio source. An audio source defines both a default physical source of audio signal, and a recording configuration. - AudioUsage
api-level-28
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.