vbagx/source/audio.h

36 lines
716 B
C
Raw Normal View History

2008-09-14 20:40:26 +00:00
/****************************************************************************
2008-09-17 02:27:55 +00:00
* Visual Boy Advance GX
*
* Tantric September 2008
*
* audio.h
*
* Head and tail audio mixer
***************************************************************************/
2008-09-14 20:40:26 +00:00
#ifndef __AUDIOMIXER__
#define __AUDIOMIXER__
2010-03-21 23:49:59 +00:00
#include "vba/common/SoundDriver.h"
void InitialiseSound();
void StopAudio();
void SetAudioRate(int type);
2009-04-08 07:08:12 +00:00
void SwitchAudioMode(int mode);
void ShutdownAudio();
2008-09-14 20:40:26 +00:00
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);
};
2008-09-14 20:40:26 +00:00
#endif