75ece68dcf
Made cAudio, cAudioCapture, cAudioManager and other classes thread safe. Made cAudioManager use a seperate update thread by default. Added cAudioSleep, a cross-platform sleep() function Moved global defines to cAudioDefines Added defines to disable thread safety or the internal update thread if the user wishes it Updated tutorials to reflect the changes made
11 lines
177 B
C++
11 lines
177 B
C++
#ifndef CAUDIOSLEEP_H
|
|
#define CAUDIOSLEEP_H
|
|
|
|
#include "cAudioDefines.h"
|
|
|
|
namespace cAudio
|
|
{
|
|
CAUDIO_API void cAudioSleep(unsigned int ms);
|
|
};
|
|
|
|
#endif //! CAUDIOSLEEP_H
|