summaryrefslogtreecommitdiff
path: root/include/JSystem/JAudio/JASRate.h
blob: a89e1d7ab41d37b7f8b52ddf0acc923b457e95cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef JASRATE_H
#define JASRATE_H

#include "dolphin/types.h"

namespace JASystem {
    namespace Kernel {
        extern f32 gDacRate;
        extern u32 gSubFrames;
        extern u32 gFrameSamples;
        extern u32 gDacSize;
        extern int gOutputRate;
        extern int gAiSetting;

        inline f32 getDacRate() { return gDacRate; }
        inline u32 getSubFrames() { return gSubFrames; }
        inline u32 getFrameSamples() { return gFrameSamples; }
        inline u32 getDacSize() { return gDacSize; }
        inline int getOutputRate() { return gOutputRate; }
        inline int getAiSetting() { return gAiSetting; }
    }
}

#endif /* JASRATE_H */