Created
May 3, 2020 11:53
-
-
Save creimers/4beac1fbb1263293f38b5f2b16715d62 to your computer and use it in GitHub Desktop.
raspberry pi airplay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev -y | |
sudo apt-get install avahi-daemon libavahi-client-dev -y | |
sudo apt-get install libssl-dev -y | |
cd ~ | |
git clone https://github.com/mikebrady/shairport-sync.git | |
cd shairport-sync | |
autoreconf -i -f | |
./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-metadata | |
make | |
sudo make install | |
sudo systemctl enable shairport-sync | |
sudo service shairport-sync start | |
amixer sset PCM,0 100% | |
amixer cset numid=3 1 | |
sudo vi /usr/local/etc/shairport-sync.conf | |
// volume_range_db = 60 ; | |
volume_range_db = 30 ; | |
audio_pwm_mode=2 >> /boot/config.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment