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 demonstrates the various scenarios supported by the RTL87x3E and offers guidance to users on how to effectively leverage 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 denotesthe category that is intended to run concurrently. Using the Audio row as an example, when A2DP music is playing, Notification, and Record can operate concurrently with Audio, whereas Audio, Voice, Line, and Pipe do not support concurrent processing.

Supported Audio Concurrency of RTL87x3E

Notification

Audio

Voice

Record

Line

Pipe

Notification

N

Y

Y

Y

Y

N

Audio

Y

N

N

Y

N

N

Voice

Y

N

N

N

N

N

Record

Y

Y

N

N

N

N

Line

Y

N

N

N

N

N

Pipe

N

N

N

N

N

C

Note

  1. Audio, Voice, and Record all fall under Audio Track, though they differ in stream types T_AUDIO_STREAM_TYPE.

  2. C indicates that the concurrency of two pipes shall only be supported in ULL mode. Meanwhile, the ULL mode shall only support Record, Audio Line, and Audio Pipe, while other scenarios are not.

  3. 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 to AUDIO_TRACK_POLICY_MULTI_STREAM, as the default policy is AUDIO_TRACK_POLICY_SINGLE_STREAM.

  4. The table above outlines the audio concurrency scenarios currently supported by default. The concurrency capabilities may be adjusted in the future.

Pipe Conversion

The supported Codecs are PCM, CVSD, mSBC, SBC, AAC, Opus, FLAC, MP3, LC3, LDAC, and LHDC. As listed on the table below, any two different codecs can support bidirectional conversion. The conversion labels follow the format: SRC:X —> SNK:Y, where X is the input codec and Y is the output codec. For example, PCM<——>CVSD and MSBC<——>AAC. No conversion is needed for the same codec (marked as ———— in the table).

Supported Audio Pipe Feature Summary

SRC\SNK

PCM

CVSD

mSBC

SBC

AAC

Opus

FLAC

MP3

LC3

LDAC

LHDC

PCM

SRC:PCM→SNK:CVSD

SRC:PCM→SNK:mSBC

SRC:PCM→SNK:SBC

SRC:PCM→SNK:AAC

SRC:PCM→SNK:Opus

SRC:PCM→SNK:FLAC

SRC:PCM→SNK:MP3

SRC:PCM→SNK:LC3

SRC:PCM→SNK:LDAC

SRC:PCM→SNK:LHDC

CVSD

SRC:CVSD→SNK:PCM

SRC:CVSD→SNK:mSBC

SRC:CVSD→SNK:SBC

SRC:CVSD→SNK:AAC

SRC:CVSD→SNK:Opus

SRC:CVSD→SNK:FLAC

SRC:CVSD→SNK:MP3

SRC:CVSD→SNK:LC3

SRC:CVSD→SNK:LDAC

SRC:CVSD→SNK:LHDC

mSBC

SRC:mSBC→SNK:PCM

SRC:mSBC→SNK:CVSD

SRC:mSBC→SNK:SBC

SRC:mSBC→SNK:AAC

SRC:mSBC→SNK:Opus

SRC:mSBC→SNK:FLAC

SRC:mSBC→SNK:MP3

SRC:mSBC→SNK:LC3

SRC:mSBC→SNK:LDAC

SRC:mSBC→SNK:LHDC

SBC

SRC:SBC→SNK:PCM

SRC:SBC→SNK:CVSD

SRC:SBC→SNK:mSBC

SRC:SBC→SNK:AAC

SRC:SBC→SNK:Opus

SRC:SBC→SNK:FLAC

SRC:SBC→SNK:MP3

SRC:SBC→SNK:LC3

SRC:SBC→SNK:LDAC

SRC:SBC→SNK:LHDC

AAC

SRC:AAC→SNK:PCM

SRC:AAC→SNK:CVSD

SRC:AAC→SNK:mSBC

SRC:AAC→SNK:SBC

SRC:AAC→SNK:Opus

SRC:AAC→SNK:FLAC

SRC:AAC→SNK:MP3

SRC:AAC→SNK:LC3

SRC:AAC→SNK:LDAC

SRC:AAC→SNK:LHDC

Opus

SRC:Opus→SNK:PCM

SRC:Opus→SNK:CVSD

SRC:Opus→SNK:mSBC

SRC:Opus→SNK:SBC

SRC:Opus→SNK:AAC

SRC:Opus→SNK:FLAC

SRC:Opus→SNK:MP3

SRC:Opus→SNK:LC3

SRC:Opus→SNK:LDAC

SRC:Opus→SNK:LHDC

FLAC

SRC:FLAC→SNK:PCM

SRC:FLAC→SNK:CVSD

SRC:FLAC→SNK:mSBC

SRC:FLAC→SNK:SBC

SRC:FLAC→SNK:AAC

SRC:FLAC→SNK:Opus

SRC:FLAC→SNK:MP3

SRC:FLAC→SNK:LC3

SRC:FLAC→SNK:LDAC

SRC:FLAC→SNK:LHDC

MP3

SRC:MP3→SNK:PCM

SRC:MP3→SNK:CVSD

SRC:MP3→SNK:mSBC

SRC:MP3→SNK:SBC

SRC:MP3→SNK:AAC

SRC:MP3→SNK:Opus

SRC:MP3→SNK:FLAC

SRC:MP3→SNK:LC3

SRC:MP3→SNK:LDAC

SRC:MP3→SNK:LHDC

LC3

SRC:LC3→SNK:PCM

SRC:LC3→SNK:CVSD

SRC:LC3→SNK:mSBC

SRC:LC3→SNK:SBC

SRC:LC3→SNK:AAC

SRC:LC3→SNK:Opus

SRC:LC3→SNK:FLAC

SRC:LC3→SNK:MP3

SRC:LC3→SNK:LDAC

SRC:LC3→SNK:LHDC

LDAC

SRC:LDAC→SNK:PCM

SRC:LDAC→SNK:CVSD

SRC:LDAC→SNK:mSBC

SRC:LDAC→SNK:SBC

SRC:LDAC→SNK:AAC

SRC:LDAC→SNK:Opus

SRC:LDAC→SNK:FLAC

SRC:LDAC→SNK:MP3

SRC:LDAC→SNK:LC3

SRC:LDAC→SNK:LHDC

LHDC

SRC:LHDC→SNK:PCM

SRC:LHDC→SNK:CVSD

SRC:LHDC→SNK:mSBC

SRC:LHDC→SNK:SBC

SRC:LHDC→SNK:AAC

SRC:LHDC→SNK:Opus

SRC:LHDC→SNK:FLAC

SRC:LHDC→SNK:MP3

SRC:LHDC→SNK:LC3

SRC:LHDC→SNK:LDAC

PCM Capabilities

The following table specifies PCM’s operational capabilities in the SRC role, detailing supported parameters (sample rate/bit width/channel configurations) across different IC models.

Source PCM Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

16K

X

X

X

44.1K

X

X

X

48K

X

96K

X

X

X

Channel Number

1

X

2

X

Bit Width

16

X

24

X

X

X

The following table specifies PCM’s operational capabilities in the SNK role, detailing supported parameters (sample rate/bit width/channel configurations) across different IC models.

SNK PCM Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

16K

X

X

X

44.1K

X

X

X

48K

X

96K

X

X

X

Channel Number

1

X

2

X

Bit Width

16

X

24

X

X

X

CVSD Capabilities

The following table specifies CVSD’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel number/frame duration configurations) across different IC models.

Source CVSD Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

Channel Number

1

X

Frame Duration

3.75ms

X

7ms

X

The following table specifies CVSD’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel number/frame duration configurations) across different IC models.

SNK CVSD Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

Channel Number

1

X

Frame Duration

3.75ms

X

7ms

X

mSBC Capabilities

The following table specifies mSBC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel mode/block length configurations) across different IC models.

Source mSBC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

16K

X

Channel Mode

Mono

X

Block Length

15

X

Sub-band Number

8

X

Allocation Method

8

X

Bitpool

26

X

The following table specifies mSBC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel mode/block length configurations) across different IC models.

SNK mSBC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

16K

X

Channel Mode

Mono

X

Block Length

15

X

Sub-band Number

8

X

Allocation Method

8

X

Bitpool

26

X

SBC Capabilities

The following table specifies SBC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel mode/block length configurations) across different IC models.

Source SBC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

16K

X

32K

X

44.1K

X

48K

X

Channel Mode

Mono

X

Dual

X

X

X

Stereo

X

X

X

Joint Stereo

X

Block Length

4

X

8

X

12

X

16

X

Sub-band Number

4

X

8

X

Allocation Method

Loudness

X

SNR

X

Bitpool

0~250

X

The following table specifies SBC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel mode/block length configurations) across different IC models.

SNK SBC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

16K

X

32K

X

44.1K

X

48K

X

Channel Mode

Mono

X

Dual

X

X

X

Stereo

X

X

X

Joint Stereo

X

Block Length

4

X

8

X

12

X

16

X

Sub-band Number

4

X

8

X

Allocation Method

Loudness

X

SNR

X

Bitpool

0~250

X

AAC Capabilities

The following table specifies AAC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel number/transport format configurations) across different IC models.

Source AAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

11.025K

X

12K

X

16K

X

22.050K

X

24K

X

32K

X

44.1K

X

48K

X

64K

X

88.2K

X

96K

X

Channel Number

1

X

X

X

2

X

Transport Format

M4MUX

X

LATM

X

ADIF

X

MP4FF

X

ADTS

X

LOAS

X

Object Type

NULL

X

MAIN

X

LC

X

SSR

X

LTP

X

SCALABLE

X

Allocation Method

Loudness

X

SNR

X

VBR

CBR

X

VBR

X

Bitrate

0~0x7FFFFF bps

X

The following table specifies AAC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel number/transport format configurations) across different IC models.

SNK AAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

11.025K

X

X

X

12K

X

X

X

16K

X

X

X

22.050K

X

X

X

24K

X

X

X

32K

X

X

X

44.1K

X

X

X

48K

X

X

X

64K

X

X

X

88.2K

X

X

X

96K

X

X

X

Channel Number

1

X

X

X

2

X

X

X

Transport Format

M4MUX

X

X

X

LATM

X

X

X

ADIF

X

X

X

MP4FF

X

X

X

ADTS

X

X

X

LOAS

X

X

X

Object Type

NULL

X

X

X

MAIN

X

X

X

LC

X

X

X

SSR

X

X

X

LTP

X

X

X

SCALABLE

X

X

X

Allocation Method

Loudness

X

X

X

SNR

X

X

X

VBR

CBR

X

X

X

VBR

X

X

X

Bitrate

0~0x7FFFFF bps

X

X

X

Opus Capabilities

The following table specifies Opus’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel number/crb format configurations) across different IC models.

Source Opus Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

12K

X

X

X

16K

X

X

X

24K

X

X

X

48K

X

X

X

Channel Number

1

X

X

X

2

X

X

X

CBR

VBR

X

X

X

CBR

X

X

X

CVBR

VBR

X

X

X

CVBR

X

X

X

Mode

SILK-only

X

X

X

Hybrid (SILK+CELT)

X

X

X

CELT-only

X

X

X

Complexity

0~10

X

X

X

Frame Duration

2.5ms

X

X

X

5ms

X

X

X

20ms

X

X

X

40ms

X

X

X

60ms

X

X

X

80ms

X

X

X

100ms

X

X

X

120ms

X

X

X

Bitrate

6000~510000 bps

X

X

X

The following table specifies Opus’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel number/crb format configurations) across different IC models.

SNK Opus Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

12K

X

16K

X

24K

X

48K

X

Channel Number

1

X

2

X

CBR

VBR

X

CBR

X

CVBR

VBR

X

CVBR

X

Mode

SILK-only

X

Hybrid (SILK+CELT)

X

CELT-only

X

Complexity

0~10

X

Frame Duration

2.5ms

X

5ms

X

20ms

X

40ms

X

60ms

X

80ms

X

100ms

X

120ms

X

Bitrate

6000~510000 bps

X

FLAC Capabilities

The following table specifies FLAC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel mode configurations) across different IC models.

Source FLAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3D

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

X

X

X

12K

X

X

X

X

X

X

16K

X

X

X

X

X

X

24K

X

X

X

X

X

X

44.1K

X

X

X

X

X

X

48K

X

X

X

X

X

X

Channel Mode

Mono

X

X

X

X

X

X

Stereo

X

X

X

X

X

X

The following table specifies FLAC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel mode configurations) across different IC models.

SNK FLAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3D

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

X

X

X

X

X

12K

X

X

X

X

X

X

16K

X

X

X

X

X

X

24K

X

X

X

X

X

X

44.1K

X

X

X

X

X

X

48K

X

X

X

X

X

X

Channel Mode

Mono

X

X

X

X

X

X

Stereo

X

X

X

X

X

X

MP3 Capabilities

The following table specifies MP3’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel mode/version configurations) across different IC models.

Source MP3 Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K(MPEG-2.5 Layer 3)

X

11.025K (MPEG-2.5 Layer 3)

X

12K (MPEG-2.5 Layer 3)

X

16K (MPEG-2 Layer 3)

X

22.050K (MPEG-2 Layer 3)

X

24K (MPEG-2 Layer 3)

X

32K (MPEG-1 Layer 3)

X

44.1K (MPEG-1 Layer 3)

X

48K (MPEG-1 Layer 3)

X

Channel Mode

Stereo

X

Joint Stereo

X

Dual

X

Mono

X

Version

MPEG Version 2.5 (unofficial)

X

MPEG Version 2 (ISO/IEC 13818-3)

X

MPEG Version 1 (ISO/IEC 11172-3)

X

Layer

Layer 1

X

Layer 2

X

Layer 3

X

Bitrate

8000~448000 bps

X

The following table specifies MP3’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel mode/version configurations) across different IC models.

SNK MP3 Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K(MPEG-2.5 Layer 3)

X

X

X

X

X

X

11.025K (MPEG-2.5 Layer 3)

X

X

X

X

X

X

12K (MPEG-2.5 Layer 3)

X

X

X

X

X

X

16K (MPEG-2 Layer 3)

X

X

X

X

X

X

22.050K (MPEG-2 Layer 3)

X

X

X

X

X

X

24K (MPEG-2 Layer 3)

X

X

X

X

X

X

32K (MPEG-1 Layer 3)

X

X

X

X

X

X

44.1K (MPEG-1 Layer 3)

X

X

X

X

X

X

48K (MPEG-1 Layer 3)

X

X

X

X

X

X

Channel Mode

Stereo

X

X

X

X

X

X

Joint Stereo

X

X

X

X

X

X

Dual

X

X

X

X

X

X

Mono

X

X

X

X

X

X

Version

MPEG Version 2.5 (unofficial)

X

X

X

X

X

X

MPEG Version 2 (ISO/IEC 13818-3)

X

X

X

X

X

X

MPEG Version 1 (ISO/IEC 11172-3)

X

X

X

X

X

X

Layer

Layer 1

X

X

X

X

X

X

Layer 2

X

X

X

X

X

X

Layer 3

X

X

X

X

X

X

Bitrate

8000~448000 bps

X

X

X

X

X

X

LC3 Capabilities

The following table specifies LC3’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel Location/frame length configurations) across different IC models.

Source LC3 Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

16K

X

24K

X

32K

X

44.1K

X

48K

X

Channel Location

32 bit-mask

X

Frame Length

20~400 bytes

X

Frame Duration

7.5ms

X

10ms

X

The following table specifies LC3’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel Location/frame length configurations) across different IC models.

SNK LC3 Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

8K

X

16K

X

24K

X

32K

X

44.1K

X

48K

X

Channel Location

32 bit-mask

X

Frame Length

20~400 bytes

X

Frame Duration

7.5ms

X

10ms

X

LDAC Capabilities

The following table specifies LDAC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel mode configurations) across different IC models.

Source LDAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

44.1K

X

X

X

48K

X

X

X

88.2K

X

X

X

96K

X

X

X

176.4K

X

X

X

192K

X

X

X

Channel Mode

Mono

X

X

X

Dual

X

X

X

Stereo

X

X

X

The following table specifies LDAC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel mode configurations) across different IC models.

SNK LDAC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

44.1K

X

X

X

X

X

X

48K

X

X

X

X

X

X

88.2K

X

X

X

X

X

X

96K

X

X

X

X

X

X

176.4K

X

X

X

X

X

X

192K

X

X

X

X

X

X

Channel Mode

Mono

X

X

X

X

X

X

Dual

X

X

X

X

X

X

Stereo

X

X

X

X

X

X

LHDC Capabilities

The following table specifies LHDC’s operational capabilities in the Source (SRC) role, detailing supported parameters (sample rate/channel number/bit width configurations) across different IC models.

Source LHDC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D

RTL87x3EP

Sample Rate

44.1K

X

X

X

48K

X

X

X

96K

X

X

X

192K

X

X

X

Channel Number

1

X

X

X

2

X

X

X

Bit Width

16

X

X

X

24

X

X

X

Frame Duration

5ms

X

X

X

The following table specifies LHDC’s operational capabilities in the Sink (SNK) role, detailing supported parameters (sample rate/channel number/bit width configurations) across different IC models.

SNK LHDC Capabilities

MCU

DSP

RTL87x3E

RTL87x3D

RTL87x3EP

RTL87x3E

RTL87x3D (LHDC V5)

RTL87x3EP

Sample Rate

44.1K

X

X

X

X

X

X

48K

X

X

X

X

X

X

96K

X

X

X

X

X

X

192K

X

X

X

X

X

X

Channel Number

1

X

X

X

X

X

X

2

X

X

X

X

X

X

Bit Width

16

X

X

X

X

X

X

24

X

X

X

X

X

X

Frame Duration

5ms

X

X

X

X

X

X