vbagx/source/audio.h

36 lines
716 B
C
Raw Normal View History

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