Audio Capabilities
The primary purpose of this document is to present the comprehensive capabilities of the Audio Subsystem, covering the currently supported audio concurrency scenarios and the coder combinations available at the source and sink endpoints of Audio Pipe. Additionally, it offers key considerations for effectively utilizing these audio capabilities.
Audio Concurrency
Audio concurrency primarily illustrates the various scenarios supported by different ICs and provides guidance to users on how to effectively utilize these capabilities.
The following table details the audio concurrency scenarios that the RTL87x3E supports. In the table, the first column indicates the category that is currently active, while the first row denotes the category that is intended to run concurrently. Using the Audio row as an example, when A2DP music is playing, Notification, Audio, Record, Line, and Pipe can operate concurrently with Audio, whereas Voice does not support concurrent processing.
Supported Audio Concurrency of RTL87x3E Notification
Audio
Voice
Record
Line
Pipe
Notification
N
Y
Y
Y
Y
Y
Audio
Y
Y
N
Y
Y
Y
Voice
Y
N
N
N
Y
N
Record
Y
Y
N
Y
Y
Y
Line
Y
Y
Y
Y
N
Y
Pipe
Y
Y
N
Y
Y
Y
Outlined in the table below are the audio concurrency scenarios supported by the RTL87x3EP. The meaning of the table is the same as that of RTL87x3E.
Supported Audio Concurrency of RTL87X3EP Notification
Audio
Voice
Record
Line
Pipe
Notification
N
Y
Y
Y
Y
Y
Audio
Y
Y
N
Y
Y
Y
Voice
Y
N
N
N
Y
N
Record
Y
Y
N
Y
Y
Y
Line
Y
Y
Y
Y
N
Y
Pipe
Y
Y
N
Y
Y
Y
The audio concurrency scenarios supported by the RTL87x3D are outlined in the table below. The meaning of the table is the same as that of RTL87x3E.
Supported Audio Concurrency of RTL87x3D Notification
Audio
Voice
Record
Line
Pipe
Notification
N
Y
Y
Y
Y
Y
Audio
Y
Y
Y
Y
Y
Y
Voice
Y
Y
N
N
Y
Y
Record
Y
Y
N
N
Y
Y
Line
Y
Y
Y
Y
N
Y
Pipe
Y
Y
Y
Y
Y
Y
Note
Audio, Voice, and Record all fall under Audio Track, though they differ in stream types
T_AUDIO_STREAM_TYPE
.For detailed information on using the API usage, please refer to Notification, Audio Line, and Audio Pipe. If the application needs the Audio Track concurrency scenario, it shall call the
audio_track_policy_set()
API to set the policy toAUDIO_TRACK_POLICY_MULTI_STREAM
, as the default policy isAUDIO_TRACK_POLICY_SINGLE_STREAM
.The table above outlines the audio concurrency scenarios currently supported by default. The concurrency capabilities may be adjusted in the future.
Pipe Conversion
TBD