Set the correct default buffer bits/format
This commit is contained in:
parent
f576a35363
commit
6f87cc92fb
@ -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};
|
||||
|
||||
|
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user