05-09-2021, 03:50 PM
(05-09-2021, 03:38 PM)Tim Curtis Wrote: Post output from the commands below and I'll have a look.
Code:cat /etc/alsa/conf.d/_audioout.conf
cat /etc/alsa/conf.d/_deviceout.conf
cat /etc/alsa/conf.d/_sndaloop.conf
lsmod | grep snd_aloop
cat /etc/mpd.conf
Code:
cat /etc/alsa/conf.d/_audioout.conf
pcm._audioout {
type copy
slave.pcm "_deviceout"
}
cat /etc/alsa/conf.d/_deviceout.conf
pcm._deviceout {
type copy
slave.pcm "hw:0,0"
}
cat /etc/alsa/conf.d/_sndaloop.conf
#
# This file provides a default Loopback device by overriding the _audioout device defined in /etc/alsa/conf.d/
#
# The trailing underscores are removed/added by job "alsa_loopback" to effectively turn the override On/Off.
# This job is submitted by snd-config.php and corresponds to the setting "ALSA loopback ON/OFF".
#
pcm.!_audioout {
type route
slave.pcm {
type multi
slaves {
a { channels 2 pcm "_deviceout" } # Original output
b { channels 2 pcm "hw:Loopback,0" } # Loopback output
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
lsmod | grep snd_aloop
snd_aloop 24576 0
snd_pcm 94208 5 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_aloop,snd_bcm2835,snd_soc_core
snd 73728 10 snd_compress,snd_timer,snd_aloop,snd_bcm2835,snd_soc_core,snd_pcm
cat /etc/mpd.conf
#########################################
# This file is automatically generated
# by the MPD configuration page.
#########################################
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
audio_output_format "192000:24:2"
replaygain "off"
replaygain_preamp "5"
volume_normalization "no"
audio_buffer_size "16384"
max_output_buffer_size "131072"
max_playlist_length "16384"
max_connections "128"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
input_cache {
size "128 MB"
}
resampler {
plugin "soxr"
quality "very high"
threads "0"
}
audio_output {
type "alsa"
name "ALSA Default"
device "_audioout"
mixer_type "software"
dop "no"
}
audio_output {
type "alsa"
name "ALSA Bluetooth"
device "btstream"
mixer_type "software"
}
audio_output {
type "httpd"
name "HTTP Server"
port "8000"
encoder "flac"
compression "0"
tags "yes"
always_on "yes"
}