From ac01cbf7a518df913b3c9e45565a4ab7a8653bc7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 22 Mar 2023 16:09:47 -0700 Subject: Log the buffer format when queueing mismatched buffers --- core/buffer_storage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/buffer_storage.h') 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 -- cgit v1.2.3