Gnash  0.8.11dev
Namespaces | Functions
SoundUtils.h File Reference
#include <algorithm>
#include <functional>
#include <cstdint>
#include "SoundInfo.h"

Go to the source code of this file.

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 
 gnash::sound
 Gnash sound handling subsystem (libsound)
 

Functions

template<typename T >
void gnash::sound::adjustVolume (T *start, T *end, float volume)
 Volume adjustment. More...
 
size_t gnash::sound::swfToOutSamples (const media::SoundInfo &sinfo, size_t swfSamples, const size_t outRate=44100)
 Convert SWF-specified number of samples to output number of samples. More...