vbagx/source/ngc/audio.h

34 lines
658 B
C
Raw Permalink 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__
#include "common/SoundDriver.h"
void InitialiseSound();
void StopAudio();
void SetAudioRate(int type);
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