forked from Ports/perfect_dark
port: experimental multithreaded audio
This commit is contained in:
1 parent
e8e513fecb
commit
4c552a42f2
17 files changed
+186
-56
No files matched your search
@@ -17,7 +17,12 @@ OSMesgQueue *amgrGetFrameMesgQueue(void);
|
||||
void amgrStopThread(void);
|
||||
|
||||
#ifndef PLATFORM_N64
|
||||
void amgrFrame(void);
|
||||
void amgrLock(void);
|
||||
void amgrUnlock(void);
|
||||
void amgrUpdateFrameCounter(u32 framecount);
|
||||
#else
|
||||
#define amgrLock() do {} while(0)
|
||||
#define amgrUnlock() do {} while(0)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -34,6 +34,9 @@
|
||||
#error "64-bit platforms are currently not supported."
|
||||
#endif
|
||||
|
||||
// threading backend
|
||||
#define PLATFORM_USE_PTHREAD 1
|
||||
|
||||
// detect endianness
|
||||
#if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__)
|
||||
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||
|
||||
Reference in new issue
Block a user