aboutsummaryrefslogtreecommitdiffstats
path: root/core/buffer_storage.h
diff options
context:
space:
mode:
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 */