Added "force mono" option to Music and SoundBuffer

Former-commit-id: 1f46d1461a8289a590a71e368f282a955d7d8234
This commit is contained in:
Lynix
2014-01-10 20:09:13 +01:00
parent faed82426f
commit d902eea49e
5 changed files with 87 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
// Copyright (C) 2013 Jérôme Leclercq
// This file is part of the "Nazara Engine - Audio module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ALGORITHM_AUDIO_HPP
#define NAZARA_ALGORITHM_AUDIO_HPP
#include <Nazara/Prerequesites.hpp>
template<typename T> void NzMixToMono(T* input, T* output, unsigned int channelCount, unsigned int frameCount);
#include <Nazara/Audio/Algorithm.inl>
#endif // NAZARA_ALGORITHM_AUDIO_HPP