diff options
author | Chris Robinson <[email protected]> | 2021-12-15 02:01:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-12-15 02:01:22 -0800 |
commit | 54c4bea48791f353baf66917f967ef3a39af9b0b (patch) | |
tree | 92ab9aad66fa8499cf338e22ce127c8db12d1cfa /core/buffer_storage.h | |
parent | b489705b25bb3967e04f7099cb21797783ccf7c0 (diff) |
Add source properties for Super Stereo
When playing a stereo format, enabling Super Stereo causes the source to behave
as a B-Format source, with a variable width control.
Diffstat (limited to 'core/buffer_storage.h')
-rw-r--r-- | core/buffer_storage.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/buffer_storage.h b/core/buffer_storage.h index cde7704e..ec934681 100644 --- a/core/buffer_storage.h +++ b/core/buffer_storage.h @@ -93,14 +93,7 @@ struct BufferStorage { { return ChannelsFromFmt(mChannels, mAmbiOrder); } inline uint frameSizeFromFmt() const noexcept { return channelsFromFmt() * bytesFromFmt(); } - inline uint mixerChannelsFromFmt() const noexcept - { - if(mChannels == FmtUHJ2 || mChannels == FmtSuperStereo) return 3; - return ChannelsFromFmt(mChannels, minu(mAmbiOrder, MaxAmbiOrder)); - } - inline bool isBFormat() const noexcept { return IsBFormat(mChannels); } - inline bool isUhj() const noexcept { return IsUHJ(mChannels); } }; #endif /* CORE_BUFFER_STORAGE_H */ |