ppsspp/Windows/DSoundStream.h
Unknown W. Brackets 97098f109a Use CommonWindows.h from Windows/ too.
Might as well.  Everything still builds fine.
2013-07-28 21:04:20 -07:00

20 lines
438 B
C++

#ifndef __SOUNDSTREAM_H__
#define __SOUNDSTREAM_H__
#include "Common/CommonWindows.h"
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__