aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--al/buffer.h2
-rw-r--r--alc/buffer_storage.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/al/buffer.h b/al/buffer.h
index 02cb49a9..2b3cd517 100644
--- a/al/buffer.h
+++ b/al/buffer.h
@@ -41,7 +41,7 @@ enum UserFmtChannels : unsigned char {
struct ALbuffer : public BufferStorage {
ALbitfieldSOFT Access{0u};
- UserFmtType OriginalType{};
+ UserFmtType OriginalType{UserFmtShort};
ALuint OriginalSize{0};
ALuint OriginalAlign{0};
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};