Renamed func params to something more natural

This commit is contained in:
emeric
2026-02-17 23:15:44 +01:00
parent 6742c99ed8
commit cea3cad6e1
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ extern "C"
namespace lms::audio
{
std::unique_ptr<IPcmDecoder> createPcmDecoder(const std::filesystem::path& filePath, const PcmDecoderParameters& parameters)
std::unique_ptr<IPcmDecoder> createPcmDecoder(const std::filesystem::path& filePath, const PcmOutputParameters& parameters)
{
return std::make_unique<ffmpeg::PcmDecoder>(filePath, parameters);
}
@@ -69,7 +69,7 @@ namespace lms::audio::ffmpeg
}
} // namespace
PcmDecoder::PcmDecoder(const std::filesystem::path& filePath, const PcmDecoderParameters& parameters)
PcmDecoder::PcmDecoder(const std::filesystem::path& filePath, const PcmOutputParameters& parameters)
: _parameters{ parameters }
{
if (_parameters.channelCount > AV_NUM_DATA_POINTERS)