[Bug 271559] snd_uaudio(4): Creative Katana V2X garbled audio

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 May 2023 14:43:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271559

--- Comment #16 from Florian Walpen <dev@submerge.ch> ---
(In reply to Hans Petter Selasky from comment #15)

Ok, I did some experiments with my 10in-12out-interface. Adapted to Emanuels
case that would result in something like:

virtual_oss -S -c 6 -r 48000 -b 24 -s 4ms -f /dev/dsp8 -b 32 -d dsp.surround -c
2 -b 32 -m 0,0,1,1 -d dsp.stereo -t vdsp.ctl

Unfortunately I couldn't test it with VLC, as soon as virtual_oss was running
VLC didn't show pcm devices anymore. Thus I ran JACK on the
"/dev/dsp.surround", mpv on "/dev/dsp.stereo". But the virtual_oss_ctl GUI
definitely helps to see what's going on.

Regarding virtual_oss, I followed the man page. Didn't find any other
documentation.
A little summary of my stumbling blocks:
 - Concepts and their relationships are not explained, e.g. channels, mappings.
 - Order of config parameter descriptions not grouped by topic.
 - What are the defaults when a parameter is not set? What is really needed for
my case?
 - Jumping back and forth to decipher the semantics used in the examples.

All in all, config and man page seem a bit centered around technical aspects,
and less about what the user wants to achieve. Anyway, one thing that could be
really helpful: An incremental example.

Start with a simple use case, only one virtual device. Then gradually add
features, devices, mappings, and explain the what and why of every step. Until
you end up with one of the more complicated examples.
Maybe that would fit a separate howto better than the man page, IDK.

Enough off-topic here, we can further discuss this by mail if you're interested
:)

-- 
You are receiving this mail because:
You are the assignee for the bug.