aboutsummaryrefslogtreecommitdiffstats
path: root/core/buffer_storage.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-12-15 02:01:22 -0800
committerChris Robinson <[email protected]>2021-12-15 02:01:22 -0800
commit54c4bea48791f353baf66917f967ef3a39af9b0b (patch)
tree92ab9aad66fa8499cf338e22ce127c8db12d1cfa /core/buffer_storage.h
parentb489705b25bb3967e04f7099cb21797783ccf7c0 (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.h7
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 */