vbagx/source/ngc/audio.h
dborth c42a5d40a7 [1.0.9 - April 7, 2009]
* Gamecube controller should no longer rumble constantly
2009-04-10 03:19:29 +00:00

34 lines
658 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);
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