ppsspp/Windows/DSoundStream.h

20 lines
425 B
C
Raw Normal View History

2012-11-01 15:19:01 +00:00
#ifndef __SOUNDSTREAM_H__
#define __SOUNDSTREAM_H__
#include <windows.h>
2012-11-01 15:19:01 +00:00
namespace DSound
{
typedef int (*StreamCallback)(short *buffer, int numSamples, int bits, int rate, int channels);
bool DSound_StartSound(HWND window, StreamCallback _callback);
void DSound_UpdateSound();
void DSound_StopSound();
float DSound_GetTimer();
int DSound_GetCurSample();
int DSound_GetSampleRate();
}
#endif //__SOUNDSTREAM_H__