diff --git a/Kernel/Devices/Audio/AC97.cpp b/Kernel/Devices/Audio/AC97.cpp index 09dca53a56..68f7c51420 100644 --- a/Kernel/Devices/Audio/AC97.cpp +++ b/Kernel/Devices/Audio/AC97.cpp @@ -145,6 +145,10 @@ ErrorOr AC97::set_pcm_output_sample_rate(u32 sample_rate) dbgln("AC97 @ {}: PCM front DAC rate set to {} Hz", pci_address(), m_sample_rate); + // Setting the sample rate stops a running DMA engine, so restart it + if (m_pcm_out_channel.dma_running()) + m_pcm_out_channel.start_dma(); + return {}; }