HomeFreeBSD

snd_hdspe(4): One pcm device per physical ADAT port.

Description

snd_hdspe(4): One pcm device per physical ADAT port.

ADAT connections transport 8, 4 or 2 audio channels depending on the
sample rate. Instead of splitting each physical ADAT port into 4
(potentially unmapped) stereo pcm devices, create just one pcm
device of variable channel width for every ADAT port.
Depending on the sample rate and channel width selected, the pcm
channels may be only partially mapped to ADAT channels and vice versa.

Added flexibility of the new channel mapping is also prerequisite to
introduce more pcm device layouts in follow-up commits.

Reviewed by: br
Differential Revision: https://reviews.freebsd.org/D43393

(cherry picked from commit d7fde2c9eccf90b2a889e92800f3bc07376e84f6)

Details

Provenance
dev_submerge.chAuthored on Jan 15 2024, 10:21 AM
christosCommitted on Jan 30 2024, 11:07 AM
Reviewer
br
Differential Revision
D43393: snd_hdspe(4): One pcm device per physical ADAT port.
Parents
rG59fccd1e84e7: Setups with digital audio connections like SPDIF and ADAT require
Branches
Unknown
Tags
Unknown