2010-02-09 05:18:39 +01:00
|
|
|
// Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones
|
|
|
|
// This file is part of the "cAudio Engine"
|
|
|
|
// For conditions of distribution and use, see copyright notice in cAudio.h
|
|
|
|
|
2009-08-29 13:24:31 +02:00
|
|
|
#ifndef CAUDIOSLEEP_H
|
|
|
|
#define CAUDIOSLEEP_H
|
|
|
|
|
|
|
|
#include "cAudioDefines.h"
|
|
|
|
|
|
|
|
namespace cAudio
|
|
|
|
{
|
2010-02-17 02:42:45 +01:00
|
|
|
//! Causes the current thread to give up control for a certain duration.
|
|
|
|
/** \param ms: amount of miliseconds to sleep */
|
2009-08-29 13:24:31 +02:00
|
|
|
CAUDIO_API void cAudioSleep(unsigned int ms);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //! CAUDIOSLEEP_H
|