Mercurial > almixer_isolated
view Isolated/SimpleThread.h @ 53:02a11507d65b
Fixed audio.seek bug in Ogg Tremor decoder interface. Unlike Ogg Vorbis, Tremor uses integer milliseconds instead of double seconds.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Wed, 18 Jan 2012 12:22:18 -0800 |
parents | 71b465ff0622 |
children | 208a9ed20087 |
line wrap: on
line source
#ifndef SIMPLE_THREAD #define SIMPLE_THREAD #ifdef __cplusplus extern "C" { #endif #include <stddef.h> typedef struct SimpleThread SimpleThread; SimpleThread* SimpleThread_CreateThread(int (*user_function)(void*), void* user_data); size_t SimpleThread_GetCurrentThreadID(void); size_t SimpleThread_GetThreadID(SimpleThread* simple_thread); void SimpleThread_WaitThread(SimpleThread* simple_thread, int* thread_status); int SimpleThread_GetThreadPriority(SimpleThread* simple_thread); void SimpleThread_SetThreadPriority(SimpleThread* simple_thread, int priority_level); /* Ends C function definitions when using C++ */ #ifdef __cplusplus } #endif #endif