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 {
|
struct ALbuffer : public BufferStorage {
|
||||||
ALbitfieldSOFT Access{0u};
|
ALbitfieldSOFT Access{0u};
|
||||||
|
|
||||||
UserFmtType OriginalType{};
|
UserFmtType OriginalType{UserFmtShort};
|
||||||
ALuint OriginalSize{0};
|
ALuint OriginalSize{0};
|
||||||
ALuint OriginalAlign{0};
|
ALuint OriginalAlign{0};
|
||||||
|
|
||||||
|
@ -56,8 +56,8 @@ struct BufferStorage {
|
|||||||
void *mUserData{nullptr};
|
void *mUserData{nullptr};
|
||||||
|
|
||||||
uint mSampleRate{0u};
|
uint mSampleRate{0u};
|
||||||
FmtChannels mChannels{};
|
FmtChannels mChannels{FmtMono};
|
||||||
FmtType mType{};
|
FmtType mType{FmtShort};
|
||||||
uint mSampleLen{0u};
|
uint mSampleLen{0u};
|
||||||
|
|
||||||
AmbiLayout mAmbiLayout{AmbiLayout::FuMa};
|
AmbiLayout mAmbiLayout{AmbiLayout::FuMa};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user