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
F106151129: D47330.diff
Thu, Dec 26, 5:57 AM
Unknown Object (File)
Wed, Dec 18, 11:10 PM
Unknown Object (File)
Sat, Dec 14, 8:11 AM
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)
Nov 26 2024, 3:47 AM
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!