vbagx/source/audio.h
2010-03-21 20:39:51 +00:00

36 lines
712 B
C++

/****************************************************************************
* Visual Boy Advance GX
*
* Tantric September 2008
*
* audio.h
*
* Head and tail audio mixer
***************************************************************************/
#ifndef __AUDIOMIXER__
#define __AUDIOMIXER__
#include "common/SoundDriver.h"
void InitialiseSound();
void StopAudio();
void SetAudioRate(int type);
void SwitchAudioMode(int mode);
void ShutdownAudio();
class SoundWii: public SoundDriver
{
public:
SoundWii();
virtual ~SoundWii();
virtual bool init(long sampleRate);
virtual void pause();
virtual void reset();
virtual void resume();
virtual void write(u16 * finalWave, int length);
};
#endif