04-21-2021, 03:55 AM
Some additional diagnostics
alsa speaker test for all 8 channels, when sent direct to the USBStreamer works fine
But the same when sent to the camilladsp alsa pipe gives the following error
alsa speaker test for all 8 channels, when sent direct to the USBStreamer works fine
Code:
speaker-test -Ddefault:USBStreamer -c8
speaker-test 1.1.8
Playback device is default:USBStreamer
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
6 - Front Left Center
2 - Front Center
7 - Front Right Center
1 - Front Right
5 - Rear Right
4 - Rear Left
3 - LFE
Time per period = 23.571733
But the same when sent to the camilladsp alsa pipe gives the following error
Code:
speaker-test -Dcamilladsp -c2
speaker-test 1.1.8
Playback device is camilladsp
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 7680 to 32768
Period size range from 3840 to 4096
Using max buffer size 32768
Periods = 4
was set period_size = 4096
was set buffer_size = 32768
0 - Front Left
Apr 20 23:50:30.483 ERROthread '<unnamed>' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/slog-scope-4.4.0/lib.rs:125:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Playback error: ALSA function 'snd_pcm_hw_params_set_channels' failed with error 'EINVAL: Invalid argument', module: camilladsp
Write error: -19,No such device
xrun_recovery failed: -19,No such device
Transfer failed: No such device