mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
Two new ioctl requests are used to get and set the sample rate of the sound card. The SB16 device keeps track of the sample rate separately, because I don't want to figure out how to read the sample rate from the device; it's easier that way. The soundcard write doesn't set the sample rate to 44100 Hz every time anymore, as we want to change it externally.
7.0 KiB
7.0 KiB