aboutsummaryrefslogtreecommitdiffstats
path: root/core/buffer_storage.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-03-22 16:09:47 -0700
committerChris Robinson <[email protected]>2023-03-22 23:21:01 -0700
commitac01cbf7a518df913b3c9e45565a4ab7a8653bc7 (patch)
tree7845df00e378f55bdd175cffff48cf7ef9c2dcc6 /core/buffer_storage.h
parentd4bfb62591be4682238f72825c293f0416956934 (diff)
Log the buffer format when queueing mismatched buffers
Diffstat (limited to 'core/buffer_storage.h')
-rw-r--r--core/buffer_storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/buffer_storage.h b/core/buffer_storage.h
index b8d387a5..d1941a48 100644
--- a/core/buffer_storage.h
+++ b/core/buffer_storage.h
@@ -48,6 +48,9 @@ enum class AmbiScaling : unsigned char {
UHJ,
};
+const char *NameFromFormat(FmtType type) noexcept;
+const char *NameFromFormat(FmtChannels channels) noexcept;
+
uint BytesFromFmt(FmtType type) noexcept;
uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept;
inline uint FrameSizeFromFmt(FmtChannels chans, FmtType type, uint ambiorder) noexcept