pcm/Export: rename CalcSourceSize() to CalcInputSize()

This commit is contained in:
Max Kellermann
2019-06-26 15:46:05 +02:00
parent f43cafbf7d
commit e69fd0300a
5 changed files with 5 additions and 5 deletions

View File

@@ -266,7 +266,7 @@ PcmExport::Export(ConstBuffer<void> data) noexcept
}
size_t
PcmExport::CalcSourceSize(size_t size) const noexcept
PcmExport::CalcInputSize(size_t size) const noexcept
{
if (pack24)
/* 32 bit to 24 bit conversion (4 to 3 bytes) */

View File

@@ -205,7 +205,7 @@ public:
* pcm_export() source buffer.
*/
gcc_pure
size_t CalcSourceSize(size_t dest_size) const noexcept;
size_t CalcInputSize(size_t dest_size) const noexcept;
};
#endif