Gnash  0.8.10
Namespaces | Defines | Functions | 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

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


namespace  gnash::sound
 

Gnash sound handling subsystem (libsound)


Defines

#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)

Functions

sound_handler * gnash::sound::create_sound_handler_aos4 (media::MediaHandler *m)

Variables

int audioTaskID

Define 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