aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-01-22 11:55:02 -0800
committerChris Robinson <[email protected]>2021-01-22 11:55:37 -0800
commit6f87cc92fb9d89c988910a2843967fcd7b623a7e (patch)
treeae7fef32eaf310256a11075336445f652318f4e6 /alc
parentf576a353638236775ecb4f4e8ba93cb1716fbe2d (diff)
Set the correct default buffer bits/format
Diffstat (limited to 'alc')
-rw-r--r--alc/buffer_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/buffer_storage.h b/alc/buffer_storage.h
index 60770184..80ccbc7b 100644
--- a/alc/buffer_storage.h
+++ b/alc/buffer_storage.h
@@ -56,8 +56,8 @@ struct BufferStorage {
void *mUserData{nullptr};
uint mSampleRate{0u};
- FmtChannels mChannels{};
- FmtType mType{};
+ FmtChannels mChannels{FmtMono};
+ FmtType mType{FmtShort};
uint mSampleLen{0u};
AmbiLayout mAmbiLayout{AmbiLayout::FuMa};