• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Shairport-sync with Airplay2

Mikae

New Member
Joined
Apr 15, 2022
Messages
2
Likes
0
Location
Finland
I have just installed shairport-sync to raspberry with params "with-airplay-2" & "with-apple-alac".
Then added "alac_decoder" = "apple" to shairport-sync config file.

So now I can get connection to my DAC via hifiberry digi+ coax and play lossless & hires lossless songs from Iphone.
I assume that shairport is using Airplay2 as it changed to use port 7000 vs. earlier installation without Airplay2 support.

Anyway, output rate (hw_params) says: format: S24_LE,subformat: STD,rate: 44100
Lossless should be 48000 and hires something more; but the output rate(hw_params) stays 44100 for both formats(lossless&hires) with default "auto" param. from shairport-sync.

Its possible to config shairport-sync to use e.g. 88200 or 176400; so I tested that DACs hw_params shows these values (if I config these to output_rate param in shairport-sync file). But I don't have any clue that is signal first coming 44100 and then shairport converts it to e.g. 88200?

Tested also below config to 'etc/asound.conf'
pcm "hw:0"
rate 48000
This way I get S16_LE/48000 rate from hw_params when shairport connected.


Do you have any experience or hints howto enable/use correct rate with Apple lossless?
 
Last edited:
Thanks, so this means that I should use 16/44100 or 24/44100("auto" settings) and other rates are not supported?

FYI all, this is very recommended setup from my point of view in case you want to have robust connection from Iphone(Apple music) to DAC vs. other solutions. Connection stays 100% stabile and no clip or any other problems. Its a cheap solution and the installation Raspbian, Shairport-sync just took something like ~1h. Apple music volume can be also controlled from Iphone; actually I don't know if its(sw volume) making some quality downgrade..
 
Last edited:
Thanks, so this means that I should use 16/44100 or 24/44100(auto settings) and other rates are not supported?
Correct
 
Back
Top Bottom