Skip to content

Apple Music Lossless & AirPlay #1205

@CarlBernard

Description

@CarlBernard

Hello,

First, thanks for this lovely little piece of software. Thanks thanks thanks.

Apple Music has started streaming in lossless format in both CD quality (16bit / 44.1k) and high resolution (24bit / 96k, 24bit / 196k).
Apple AirPlay 1 and 2 are capable of sending up to 16 bit / 44.1k in lossless ALAC format.
I use my Naim UnitiQute 1 amplifier via AirPlay (= shairport-sync) and everything works fine but I'm not sure what format I'm sending via my iPhone X (AAC lossy or ALAC lossless) to my Raspberry running shairport-sync.

I read on the Naim Audio forum (https://community.naimaudio.com/t/apple-music-hifi-tier-incoming/16445/632) that at the moment the only way to enjoy lossless is via cable as Apple Music via AirPlay decodes the file from ALAC to AAC before sending it to the receiver.
To do a further test, I also tried TIDAL in high resolution via AirPlay but my NAIM receiver informs me that it is always receiving 44.100Hz even when I am sending it 96k or 192k.
Do I have to configure shairport-sync in a particular way?
Does Shairport-sync always decode the file only in the 16bit / 44.1k format or send the file as received without any modification?

Is it possible to know which audio format (example: AAC, ALAC, FLAC), bit resolution and sample rate is received by shairport-sync before sending it to the audio system?
In ALSA, I remember, through a command from the terminal it was possible to verify this with

cat / proc / asound / card0 / pcm0p / sub0 / hw_params

but it was not possible to know what the codec was.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions