mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 17:24:03 +02:00
Remove some unused functions.
This commit is contained in:
@@ -1303,11 +1303,6 @@ void mal_sleep__win32(mal_uint32 milliseconds)
|
|||||||
Sleep((DWORD)milliseconds);
|
Sleep((DWORD)milliseconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
void mal_yield__win32()
|
|
||||||
{
|
|
||||||
SwitchToThread();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mal_bool32 mal_mutex_create__win32(mal_mutex* pMutex)
|
mal_bool32 mal_mutex_create__win32(mal_mutex* pMutex)
|
||||||
{
|
{
|
||||||
@@ -1378,11 +1373,6 @@ void mal_sleep__posix(mal_uint32 milliseconds)
|
|||||||
usleep(milliseconds * 1000); // <-- usleep is in microseconds.
|
usleep(milliseconds * 1000); // <-- usleep is in microseconds.
|
||||||
}
|
}
|
||||||
|
|
||||||
void mal_yield__posix()
|
|
||||||
{
|
|
||||||
sched_yield();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mal_bool32 mal_mutex_create__posix(mal_mutex* pMutex)
|
mal_bool32 mal_mutex_create__posix(mal_mutex* pMutex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user