首页| 论坛| 消息
主题:shairport-sync
回帖:https://www.bilibili.com/opus/838888519748288569

apt update&&apt upgrade

apt install --no-install-recommends build-essential git autoconf automake libtool \
libpopt-dev libconfig-dev libasound2-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev \
libplist-dev libsodium-dev libavutil-dev libavcodec-dev libavformat-dev uuid-dev libgcrypt-dev xxd
https://github.com/mikebrady/alac

(2)先下载并构建源代码安装 NQPTP:

如果没有 Git ,请先安装好 Git 。

autoreconf 可能要等待一会完成。

shairport-sync 的 airplay2 需要 nqptp 的支持。

git clone https://github.com/mikebrady/nqptp.git
cd nqptp
autoreconf -fi
./configure --with-systemd-startup
make
make install
(3)下载并构建shairport-sync的源代码安装:

autoreconf 可能要等待一会完成。

git clone https://github.com/mikebrady/shairport-sync.git
cd shairport-sync
autoreconf -fi
./configure --sysconfdir=/etc --with-alsa \
--with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2
make
make install

-启用服务:

#nqptp:
systemctl enable nqptp
systemctl start nqptp

#shairport-sync:
systemctl enable shairport-sync

2. 查看播放的声卡设备

- 输入 aplay -L查看声卡:

root@armbian:~# aplay -L
下一楼›:我选择的是 hw:CARD=P230Q200,DEV=1 可以简用成 hw:1,后续这个值会用到。
- 输入 alsamixer ..
‹上一楼:apt update&&apt upgrade
apt install --no-install-recommends build-essential gi ..

查看全部回帖(7)
«返回主帖