JAudio stuff

This commit is contained in:
SwareJonge 2023-06-01 12:33:46 +02:00
parent 82d7cffd61
commit 2f9d003c3a
11 changed files with 55 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JAISOUND_H
#define JSYSTEM_JAISOUND_H
#ifndef JAUDIO_JAISOUND_H
#define JAUDIO_JAISOUND_H
#include <JSystem/JUtility/JUTDbg.h>

View File

@ -0,0 +1,35 @@
#ifndef JAUDIO_JAUINITIALIZER_H
#define JAUDIO_JAUINITIALIZER_H
#include <JSystem/JKernel/JKRHeap.h>
struct JAU_JASInitializer {
JAU_JASInitializer();
void initJASystem(JKRSolidHeap *);
u32 mAudioMemory;
u32 mAudioMemSize;
u32 mHeapSize;
s32 mDvdThreadPrio;
s32 mAudioThreadPrio;
int mDvdThreadID;
int mAudioThreadID;
u32 mTrackPools;
u32 mChannelPools;
u32 mBlockSize;
u32 mChannelMax;
f32 mDSPLevel;
char *mDir;
};
struct JAU_JAIInitializer {
JAU_JAIInitializer();
void initJAInterface();
u32 mSeCount;
u32 mSeqCount;
u32 mStreamCount;
u32 mChildCount;
};
#endif

View File

@ -1,5 +1,5 @@
#ifndef JAUSOUNDOBJECT_H
#define JAUSOUNDOBJECT_H
#ifndef JAUDIO_JAUSOUNDOBJECT_H
#define JAUDIO_JAUSOUNDOBJECT_H
#include "JSystem/JAudio/Interface/JAISound.h"
#include "JSystem/JGeometry.h"

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASCALC_H
#define JSYSTEM_JASCALC_H
#ifndef JAUDIO_JASCALC_H
#define JAUDIO_JASCALC_H
#include <limits>
#include "types.h"

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASDVD_H
#define JSYSTEM_JASDVD_H
#ifndef JAUDIO_JASDVD_H
#define JAUDIO_JASDVD_H
#include "types.h"
#include <JSystem/JAudio/System/JASTaskThread.h>

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASHEAP_H
#define JSYSTEM_JASHEAP_H
#ifndef JAUDIO_JASHEAP_H
#define JAUDIO_JASHEAP_H
#include <JSystem/JKernel/JKRHeap.h>

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASINST_H
#define JSYSTEM_JASINST_H
#ifndef JAUDIO_JASINST_H
#define JAUDIO_JASINST_H
#include <JSystem/JMath/JMath.h>
#include <JSystem/JAudio/System/JASSoundParams.h>

View File

@ -1,5 +1,5 @@
#ifndef JASMUTEX_H
#define JASMUTEX_H
#ifndef JAUDIO_JASMUTEX_H
#define JAUDIO_JASMUTEX_H
#include <dolphin/os.h>

View File

@ -1,5 +1,5 @@
#ifndef JASREPORT_H
#define JASREPORT_H
#ifndef JAUDIO_JASREPORT_H
#define JAUDIO_JASREPORT_H
#include "types.h"

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASSOUNDPARAMS_H
#define JSYSTEM_JASSOUNDPARAMS_H
#ifndef JAUDIO_JASSOUNDPARAMS_H
#define JAUDIO_JASSOUNDPARAMS_H
#include "types.h"

View File

@ -1,5 +1,5 @@
#ifndef JSYSTEM_JASTASKTHREAD_H
#define JSYSTEM_JASTASKTHREAD_H
#ifndef JAUDIO_JASTASKTHREAD_H
#define JAUDIO_JASTASKTHREAD_H
#include "JSystem/JKernel/JKRThread.h"
#include "types.h"