SteeBono / airplayreceiver

Open source implementation of AirPlay 2 Mirroring / Audio protocol.
MIT License
190 stars 36 forks source link

? meaning of entries in "ALAC (96 AppleLossless, 96 352 0 16 40 10 14 2 255 0 0 44100)" #4

Closed fduncanh closed 3 years ago

fduncanh commented 3 years ago
0x40000: ALAC (96 AppleLossless, 96 352 0 16 40 10 14 2 255 0 0 44100)

I'm trying to make a GStreamer pipeline for playing decrypted ALAC format audio received by by a linux-based AirPlay server http://github.com/FDH2/UxPlay that currently only does AAC_ELD audio.

I guess I know what the 96 and 44100 mean; do you have any idea what the other entries (352.... ) above mean?

SteeBono commented 3 years ago

The ALAC codec stores specific information about the encoded stream in the ALACSpecificConfig. This info is vended by the encoder and is used to setup the decoder for a given encoded bitstream.

Also know as magic cookie.

ALAC (96 AppleLossless, 96 352 0 16 40 10 14 2 255 0 0 44100)

Hope this help you.