mirror of
https://github.com/RGBCube/serenity
synced 2026-01-18 14:31:00 +00:00
Previously we `VERIFY()`ed that the device supports variable-rate audio (VRA). Now, we query the VRA bit and if VRA is not supported, we do not enable double-rate audio and disallow setting any sample rate except the fixed 48kHz rate as defined by the AC'97 specification. This should allow the driver to function on a wider array of hardware. Note that in the AC'97 specification, DRA without VRA is allowed when supported: this effectively doubles the sample rate to 96kHZ. For now, we ignore that possibility and let it default to 48kHZ. |
||
|---|---|---|
| .. | ||
| AC97.cpp | ||
| AC97.h | ||
| SB16.cpp | ||
| SB16.h | ||