Page MenuHomeFreeBSD

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

Authored by dev_submerge.ch on Tue, Oct 29, 2:32 PM.
Tags
None
Referenced Files
F103109270: D47330.id.diff
Thu, Nov 21, 3:08 AM
Unknown Object (File)
Sun, Nov 17, 8:58 PM
Unknown Object (File)
Thu, Nov 7, 12:33 AM
Unknown Object (File)
Wed, Nov 6, 10:33 PM
Unknown Object (File)
Wed, Nov 6, 12:35 PM
Unknown Object (File)
Tue, Oct 29, 11:52 PM
Unknown Object (File)
Tue, Oct 29, 6:45 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.Tue, Oct 29, 3:50 PM

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