diff options
-rw-r--r-- | Userland/Libraries/LibAudio/Buffer.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibAudio/Buffer.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibAudio/Buffer.cpp b/Userland/Libraries/LibAudio/Buffer.cpp index ce3da09cd8..86a51aa7ac 100644 --- a/Userland/Libraries/LibAudio/Buffer.cpp +++ b/Userland/Libraries/LibAudio/Buffer.cpp @@ -21,6 +21,7 @@ u16 pcm_bits_per_sample(PcmSampleFormat format) return 16; case Int24: return 24; + case Int32: case Float32: return 32; case Float64: diff --git a/Userland/Libraries/LibAudio/Buffer.h b/Userland/Libraries/LibAudio/Buffer.h index bcdb9a8279..88d0fa0c56 100644 --- a/Userland/Libraries/LibAudio/Buffer.h +++ b/Userland/Libraries/LibAudio/Buffer.h @@ -76,6 +76,7 @@ enum PcmSampleFormat : u8 { Uint8, Int16, Int24, + Int32, Float32, Float64, }; |