Page MenuHomeFreeBSD

snd_hdsp(4): Add sysctls to select analog signal levels.
ClosedPublic

Authored by dev_submerge.ch on Oct 29 2024, 2:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 7:58 AM
Unknown Object (File)
Sat, Nov 30, 7:12 PM
Unknown Object (File)
Sat, Nov 30, 1:23 AM
Unknown Object (File)
Thu, Nov 28, 11:25 AM
Unknown Object (File)
Tue, Nov 26, 3:47 AM
Unknown Object (File)
Mon, Nov 25, 9:42 PM
Unknown Object (File)
Fri, Nov 22, 9:04 PM
Unknown Object (File)
Thu, Nov 21, 11:47 PM
Subscribers

Details

Summary

RME HDSP 9632 sound cards support different sensitivity levels at the
analog input, and different gain levels for the analog line and phones
outputs. Expose these settings as sysctl tunables.

Test Plan

Tested on hardware:

  • Phones output volume changes according to sysctl setting (caution, still extremely loud).
  • Create loop to feedback the line output to line input.
  • Iterate through input signal levels and observe volume changes in recorded audio.
  • Iterate through output signal levels and observe volume changes in recorded audio.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

@br: If this patch is ok, I'll also adapt it to the HDSPe AIO in snd_hdspe(4) for you to test. Looks like it uses a different register though.

This revision is now accepted and ready to land.Oct 29 2024, 3:50 PM

great idea, and happy to test (and actually use) if you can adopt to hdspe!