Oboe
A library for creating real-time audio apps on Android
|
#include <AudioStreamBase.h>
Protected Member Functions | |
virtual Result | isValidConfig () |
Base class containing parameters for audio streams and builders.
|
default |
Default copy constructor
|
inline |
Return the policy that determines whether the audio may or may not be captured by other apps or the system.
See AudioStreamBuilder_setAllowedCapturePolicy().
Added in API level 29 to AAudio.
Query the maximum number of frames that can be filled without blocking. If the stream has been closed the last known value will be returned.
|
inline |
|
inline |
|
inline |
|
inline |
For internal use only.
|
inline |
|
inline |
|
inline |
For internal use only.
|
inline |
|
inline |
getFramesPerDataCallback
instead.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return whether this input stream is marked as privacy sensitive.
See AudioStreamBuilder_setPrivacySensitiveMode().
Added in API level 30 to AAudio.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Note that if the app does not set an error callback then a default one may be provided.
|
inline |
Validate stream parameters that might not be checked in lower layers
|
default |
Default assignment operator
|
protected |
Allowed Capture Policy. Only active on Android 29+
|
protected |
Control the attribution tag of the context creating the stream. Only active on Android 31+
|
protected |
Stream buffer capacity specified as a number of audio frames
|
protected |
Stream buffer size specified as a number of audio frames
|
protected |
Stream channel count
|
protected |
Stream channel mask. Only active on Android 32+
|
protected |
Stream content type. Only active on Android 28+
|
protected |
The callback which will be fired when new data is ready to be read/written.
|
protected |
Stream audio device ID
|
protected |
Stream direction
|
protected |
The callback which will be fired when an error or a disconnect occurs.
|
protected |
Format of audio frames
|
protected |
Number of audio frames which will be requested in each callback
|
protected |
Hardware channel count. Only specified on Android 34+ AAudio streams
|
protected |
Hardware format. Only specified on Android 34+ AAudio streams
|
protected |
Hardware sample rate. Only specified on Android 34+ AAudio streams
|
protected |
Stream input preset. Only active on Android 28+ TODO InputPreset::Unspecified should be considered as a possible default alternative.
Whether the content is already spatialized. Only used on Android 32+
|
protected |
Control the name of the package creating the stream. Only active on Android 31+
|
protected |
Stream performance mode
|
protected |
Privacy Sensitive Mode. Only active on Android 30+
|
protected |
Stream sample rate
|
protected |
Stream session ID allocation strategy. Only active on Android 28+
|
protected |
Stream sharing mode
|
protected |
Spatialization Behavior. Only active on Android 32+
|
protected |
Stream usage. Only active on Android 28+