ppsspp/Windows/DSoundStream.h

14 lines
373 B
C
Raw Normal View History

2012-11-01 16:19:01 +01:00
#ifndef __SOUNDSTREAM_H__
#define __SOUNDSTREAM_H__
#include "Common/CommonWindows.h"
typedef int (*StreamCallback)(short *buffer, int numSamples, int bits, int rate, int channels);
2012-11-01 16:19:01 +01:00
bool DSound_StartSound(HWND window, StreamCallback _callback, int sampleRate);
void DSound_UpdateSound();
void DSound_StopSound();
2012-11-01 16:19:01 +01:00
int DSound_GetSampleRate();
2012-11-01 16:19:01 +01:00
#endif //__SOUNDSTREAM_H__