Audio

Audio

Overview

The AirPlay 2 audio streaming can be either real time or buffered. The sender asks the receiver to instantiate the audio channel accordingly (SETUP).

Audio formats

The following bitmask defines the possible audio formats announce by the sender with a SETUP request.

Bit Value Type
2 0x4 PCM/8000/16/1
3 0x8 PCM/8000/16/2
4 0x10 PCM/16000/16/1
5 0x20 PCM/16000/16/2
6 0x40 PCM/24000/16/1
7 0x80 PCM/24000/16/2
8 0x100 PCM/32000/16/1
9 0x200 PCM/32000/16/2
10 0x400 PCM/44100/16/1
11 0x800 PCM/44100/16/2
12 0x1000 PCM/44100/24/1
13 0x2000 PCM/44100/24/2
14 0x4000 PCM/48000/16/1
15 0x8000 PCM/48000/16/2
16 0x10000 PCM/48000/24/1
17 0x20000 PCM/48000/24/2
18 0x40000 ALAC/44100/16/2
19 0x80000 ALAC/44100/24/2
20 0x100000 ALAC/48000/16/2
21 0x200000 ALAC/48000/24/2
22 0x400000 AAC-LC/44100/2
23 0x800000 AAC-LC/48000/2
24 0x1000000 AAC-ELD/44100/2
25 0x2000000 AAC-ELD/48000/2
26 0x4000000 AAC-ELD/16000/1
27 0x8000000 AAC-ELD/24000/1
28 0x10000000 OPUS/16000/1
29 0x20000000 OPUS/24000/1
30 0x40000000 OPUS/48000/1
31 0x80000000 AAC-ELD/44100/1
32 0x100000000 AAC-ELD/48000/1