Gnash  0.8.11dev
Namespaces | Macros | Variables
sound_handler_ahi.cpp File Reference
#include "sound_handler_ahi.h"
#include "SoundInfo.h"
#include "EmbedSound.h"
#include "AuxStream.h"
#include "log.h"
#include "GnashException.h"
#include "GnashSleep.h"
#include <vector>
#include <boost/scoped_array.hpp>
#include <proto/dos.h>
#include <proto/exec.h>
#include <proto/ahi.h>
#include <devices/ahi.h>
#include <exec/memory.h>

Namespaces

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

Macros

#define PLAYERTASK_NAME   "Gnash audio task"
 
#define PLAYERTASK_PRIORITY   20
 
#define RESET_TIME   20 * 1000
 
#define BUFSIZE   7056 * 4
 
#define AHI_BUF_SIZE   28224u
 
#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)
 

Variables

int audioTaskID
 

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 AHI_BUF_SIZE   28224u
#define BUFSIZE   7056 * 4
#define MIX_MAXVOLUME   128
#define PLAYERTASK_NAME   "Gnash audio task"
#define PLAYERTASK_PRIORITY   20
#define RESET_TIME   20 * 1000

Variable Documentation

int audioTaskID