06-11-2023, 06:34 PM
Very odd "One curiosity is that, on reboot, the output mode is reset to plughw from direct."
I'm not seeing that on my end. If I set ALSA output mode to Direct (hw) and then reboot, the setting sticks and the log shows same: 20230611 135145 worker: ALSA output mode (Direct: hw)
It looks like the config file I posted is missing the top and bottom delimiters but I don't think that would cause your issue. In any case here is the updated file.
CamillaDSP also writes errors and warnings to the MPD log
/var/log/mpd/log
I'm not seeing that on my end. If I set ALSA output mode to Direct (hw) and then reboot, the setting sticks and the log shows same: 20230611 135145 worker: ALSA output mode (Direct: hw)
It looks like the config file I posted is missing the top and bottom delimiters but I don't think that would cause your issue. In any case here is the updated file.
Code:
---
devices:
adjust_period: 10
capture:
channels: 2
extra_samples: 0
filename: /dev/stdin
format: S16LE
read_bytes: 0
skip_bytes: 0
type: File
capture_samplerate: 0
chunksize: 4096
enable_rate_adjust: false
enable_resampling: false
playback:
channels: 2
device: hw:0,0
format: S16LE
type: Alsa
queuelimit: 1
rate_measure_interval: 1
resampler_type: Synchronous
samplerate: 44100
silence_threshold: -60
silence_timeout: 3
stop_on_rate_change: false
target_level: 0
filters:
Dither:
parameters:
bits: 16
type: Simple
type: Dither
Volume:
parameters:
ramp_time: 200
type: Volume
mixers:
stereo:
channels:
in: 2
out: 2
mapping:
- dest: 0
mute: false
sources:
- channel: 0
gain: -3
inverted: true
mute: false
- dest: 1
mute: false
sources:
- channel: 1
gain: -3
inverted: true
mute: false
pipeline:
- name: stereo
type: Mixer
- channel: 0
names:
- Volume
type: Filter
- channel: 1
names:
- Volume
type: Filter
- channel: 0
names:
- Dither
type: Filter
- channel: 1
names:
- Dither
type: Filter
...
CamillaDSP also writes errors and warnings to the MPD log
/var/log/mpd/log