06-12-2023, 04:11 PM
(06-11-2023, 06:34 PM)Tim Curtis Wrote: 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.
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
The usage mode thing turned out to be a red herring. The problem persists, however, even with the delimeters in place. The unusual symptom is in a change to the 'ProtoDAC VC.yml' file. I create it in the configs subdir and it looks good. When I bring it up in the cdsp settings interface it is there and selects fine. Then, I go to play a file and hit the MPD error. Then I again check on the 'ProtoDAC VC.yml' file (SSH via putty) and that file is truncated showing only 'devices' with 'capture' and 'playback' sections -- perhaps only 1/4 of the full file. I plan to document a clean example of this with the logs and screen captures, so, if this scant description doesn't trigger a strong suspicion on your part, it probably makes sense to wait for the filled-out version.
Thanks, Skip