port: fix aEnvMixer; fix some misc warnings

hopefully that was the last of the big audio issues
This commit is contained in:
fgsfds committed 2023-08-09 21:18:36 +02:00
1 parent 60e64e1a1d
commit 288b37a1b3
8 files changed
+60 -42

No files matched your search

+4
View File
@@ -120,7 +120,11 @@ typedef struct ALLink_s {
void alUnlink(ALLink *element);
void alLink(ALLink *element, ALLink *after);
#ifdef PLATFORM_N64
typedef s32 (*ALDMAproc)(s32 addr, s32 len, void *state);
#else
typedef uintptr_t (*ALDMAproc)(uintptr_t addr, s32 len, void *state);
#endif
typedef ALDMAproc (*ALDMANew)(void *state);
void alCopy(void *src, void *dest, s32 len);
+5 -1
View File
@@ -97,9 +97,13 @@ extern "C" {
/* Address translation routines and macros */
#ifdef PLATFORM_N64
extern u32 osVirtualToPhysical(void *);
extern void * osPhysicalToVirtual(u32);
#else
extern uintptr_t osVirtualToPhysical(void *);
extern void * osPhysicalToVirtual(uintptr_t);
#endif
#endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */