// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" // For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_AUDIO_ALGORITHM_HPP #define NAZARA_AUDIO_ALGORITHM_HPP #include #include #include namespace Nz { inline UInt32 GetChannelCount(AudioFormat format); inline std::optional GuessAudioFormat(UInt32 channelCount); template void MixToMono(T* input, T* output, UInt32 channelCount, UInt64 frameCount); } #include #endif // NAZARA_AUDIO_ALGORITHM_HPP