mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-25 15:25:07 -04:00
JASRate
This commit is contained in:
+1
-1
@@ -654,7 +654,7 @@ config.libs = [
|
||||
Object(NonMatching, "JSystem/JAudio/JASAiCtrl.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASDvdThread.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASCallback.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASRate.cpp"),
|
||||
Object(Matching, "JSystem/JAudio/JASRate.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASHardStream.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASHeapCtrl.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASResArcLoader.cpp"),
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef JASRATE_H
|
||||
#define JASRATE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
namespace JASystem {
|
||||
namespace Kernel {
|
||||
extern f32 gDacRate;
|
||||
extern u32 gSubFrames;
|
||||
extern int gFrameSamples;
|
||||
extern u32 gDacSize;
|
||||
extern int gOutputRate;
|
||||
extern int gAiSetting;
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* JASRATE_H */
|
||||
@@ -3,6 +3,11 @@
|
||||
// Translation Unit: JASRate.cpp
|
||||
//
|
||||
|
||||
#include "JASRate.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "JSystem/JAudio/JASRate.h"
|
||||
|
||||
f32 JASystem::Kernel::gDacRate = 32028.5f;
|
||||
u32 JASystem::Kernel::gSubFrames = 7;
|
||||
int JASystem::Kernel::gFrameSamples = 560;
|
||||
u32 JASystem::Kernel::gDacSize = 1120;
|
||||
int JASystem::Kernel::gOutputRate;
|
||||
int JASystem::Kernel::gAiSetting;
|
||||
|
||||
Reference in New Issue
Block a user