Set the correct default buffer bits/format

This commit is contained in:
Chris Robinson 2021-01-22 11:55:02 -08:00
parent f576a35363
commit 6f87cc92fb
2 changed files with 3 additions and 3 deletions

View File

@ -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};

View File

@ -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};