I firstly tried a A2DP bluetooth adapter for dock with a bluetooth dongle on my NAS.
![]() |
A2DP Bluetooth receiver |
It worked, but A2DP doesn't use lossless codecs mainly due to bluetooth bitrate limitations (more details: http://www.presence-pc.com/actualite/bluetooth-a2dp-aptx-49042/)
After some googling, I found a solution called Airfloat available on Cydia. (http://airflo.at/ https://github.com/trenskow/AirFloat)
It works with iTunes with no problem but not so well with the synology AirPlay implementation.
After some testing, I faced to the same issue as other users (http://xsellize.com/topic/110982-o-airplayspeaker-111-repo/?p=685055)
Its working but sounds is choppy any time the CPU is busy or screen is off (which most likely puts CPU in low power mode). We need a way to increase the CPU priority of the process.
To prevent the screen from locking, just install SleepDepriver tweak from Cydia.
But to avoid choppy sound when CPU is busy during UI interactions for example, it wasn't as easy as for the screen...
I finally found a solution by tweaking the daemon .plist with parameters from the mediaserverd (iPhone audio server daemon).
To install this modded version, get on your desktop (or open up MobileTerminal on your iPhone) and SSH into your device. Then copy and paste the code below into the terminal and press enter. Once it completes, reboot your device. Your iPhone will now appear on AirPlay speaker menus automatically.
apt-get update
apt-get install wget
apt-get install unzip
cd /tmp
wget http://db.tt/iwNEOUFZ
unzip "AirPlay.zip"
cp "AirPlay/airtunesd" /usr/libexec
cp "AirPlay/com.apple.airtunesd.plist" /System/Library/LaunchDaemons
chmod 755 /usr/libexec/airtunesd
chmod 644 /System/Library/LaunchDaemons/com.apple.airtunesd.plist
rm -r "AirPlay.zip"
rm -r "AirPlay"
Alternatively, you can do this with an FTP/File Browser client (visually) with this tutorial. Remember, this will not work until you reboot (the respring doesn’t cut it).