diff options
author | Chris Robinson <[email protected]> | 2023-03-22 16:09:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-22 23:21:01 -0700 |
commit | ac01cbf7a518df913b3c9e45565a4ab7a8653bc7 (patch) | |
tree | 7845df00e378f55bdd175cffff48cf7ef9c2dcc6 /core/buffer_storage.h | |
parent | d4bfb62591be4682238f72825c293f0416956934 (diff) |
Log the buffer format when queueing mismatched buffers
Diffstat (limited to 'core/buffer_storage.h')
-rw-r--r-- | core/buffer_storage.h | 3 |
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 |