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)
Thu, Dec 26, 5:57 AM
Unknown Object (File)
Wed, Dec 18, 11:10 PM
Unknown Object (File)
Dec 14 2024, 8:11 AM
Unknown Object (File)
Dec 1 2024, 7:58 AM
Unknown Object (File)
Nov 30 2024, 7:12 PM
Unknown Object (File)
Nov 30 2024, 1:23 AM
Unknown Object (File)
Nov 28 2024, 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60245
Build 57129: arc lint + arc unit

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!