Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
(NazaraAudio) Audio module

Classes

class  Nz::Audio
 Audio class that represents the module initializer of Audio. More...
 
class  Nz::Music
 Audio class that represents a music. More...
 
class  Nz::Sound
 Audio class that represents a sound. More...
 
class  Nz::SoundBuffer
 Audio class that represents a buffer for sound. More...
 
class  Nz::SoundEmitter
 Audio class that represents a sound source, that emits sound. More...
 
class  Nz::SoundStream
 Audio class that represents a sound stream. More...
 

Functions

template<typename T >
void Nz::MixToMono (T *input, T *output, UInt32 channelCount, UInt64 frameCount)
 Mixes channels in mono. More...
 

Detailed Description

Audio/System module including classes to handle music, sound, etc...

Function Documentation

◆ MixToMono()

template<typename T >
void Nz::MixToMono ( T *  input,
T *  output,
UInt32  channelCount,
UInt64  frameCount 
)

Mixes channels in mono.

Parameters
inputInput buffer with multiples channels
outputOutput butter for mono
channelCountNumber of channels
frameCountNumber of frames
Remarks
The input buffer may be the same as the output one