mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-12 16:06:11 +00:00
18 lines
403 B
C++
18 lines
403 B
C++
#ifndef __SOUNDSTREAM_H__
|
|
#define __SOUNDSTREAM_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__
|