linh0983
Well-Known Member
Từng hình 1 như vầy ạ .Sao e cài được rồi passthrough qua bluetooth mà là o có cái icon như của bác, volume o chỉnh đươc luôn
Mã:
mpd 0.23.14-1
# /srv/http/data/mpdconf/mpd.conf
bind_to_address "0.0.0.0"
db_file "/srv/http/data/mpd/mpd.db"
music_directory "/mnt/MPD"
playlist_directory "/srv/http/data/playlists"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
input {
plugin "curl"
}
audio_output {
name "BT Speaker A2DP"
device "bluealsa"
type "alsa"
mixer_type "hardware"
format "44100:16:2"
}
audio_output {
name "hifiberry-digi"
device "hw:0,0"
type "alsa"
auto_resample "no"
auto_format "no"
mixer_type "none"
}
mpd.service- Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/mpd.service.d
└─00-arch.conf
/etc/systemd/system/mpd.service.d
└─override.conf
Active: active (running) since Thu 2023-12-28 15:35:57 +07; 16min ago
Docs: man:mpd(1)
man:mpd.conf(5)
Main PID: 1843 (mpd)
Tasks: 8 (limit: 1006)
CPU: 38.003s
CGroup: /system.slice/mpd.service
└─1843 /usr/bin/mpd --systemd /srv/http/data/mpdconf/mpd.conf
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:584: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: FIFO buffer size: 1024 frames
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:589: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Selected HW buffer: 4 periods x 24000 bytes == 96000 bytes
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:620: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Initializing SW
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:620: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Initializing SW
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:620: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Initializing SW
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:661: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Prepared
Dec 28 15:39:07 rAudio mpd[1843]: [3508] D: bluealsa-pcm.c:620: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Initializing SW
Dec 28 15:39:07 rAudio mpd[1843]: output: Failed to open mixer for 'BT Speaker A2DP': no such mixer control: PCM
Dec 28 15:39:07 rAudio mpd[1843]: [1845] D: bluealsa-pcm.c:374: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Starting
Dec 28 15:39:07 rAudio mpd[1843]: [4440] D: bluealsa-pcm.c:229: /org/bluealsa/hci0/dev_FC_58_FA_00_EA_A4/a2dpsrc/sink: Starting IO loop: 23
Chỉnh sửa lần cuối: