1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

SB16: Use Stereo samples by default.

This commit is contained in:
Andreas Kling 2019-07-13 17:51:18 +02:00
parent d63b6e624e
commit 48bde0393e

View file

@ -165,7 +165,7 @@ ssize_t SB16::write(FileDescription&, const u8* data, ssize_t length)
return -ENOSPC;
}
u8 mode = (u8)SampleFormat::Signed;
u8 mode = (u8)SampleFormat::Signed | (u8)SampleFormat::Stereo;
disable_irq();
const int sample_rate = 44100;