Gnash  0.8.11dev
Namespaces | Macros
sound_handler_mkit.cpp File Reference
#include "sound_handler_mkit.h"
#include "SoundInfo.h"
#include "EmbedSound.h"
#include "AuxStream.h"
#include "log.h"
#include "GnashException.h"
#include <vector>
#include <boost/scoped_array.hpp>
#include <SoundPlayer.h>

Namespaces

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

Macros

#define MIX_MAXVOLUME   128
 
#define ADJUST_VOLUME(s, v)   (s = (s*v)/MIX_MAXVOLUME)
 
#define ADJUST_VOLUME_U8(s, v)   (s = (((s-128)*v)/MIX_MAXVOLUME)+128)
 

Macro Definition Documentation

#define ADJUST_VOLUME (   s,
 
)    (s = (s*v)/MIX_MAXVOLUME)
#define ADJUST_VOLUME_U8 (   s,
 
)    (s = (((s-128)*v)/MIX_MAXVOLUME)+128)
#define MIX_MAXVOLUME   128