Files
tp/include/JSystem/JAudio2/JASTrackPort.h
T

31 lines
613 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef JASTRACKPORT_H
#define JASTRACKPORT_H
#include "dolphin/types.h"
2024-04-12 00:10:30 -06:00
/**
* @ingroup jsystem-jaudio
*
*/
class JASTrackPort {
public:
2025-12-26 13:20:53 -08:00
static const int MAX_PORTS = 16;
2025-11-30 14:23:42 -08:00
void init();
u16 readImport(u32);
u16 readExport(u32);
void writeImport(u32, u16);
void writeExport(u32, u16);
u32 checkImport(u32) const;
u32 checkExport(u32) const;
u16 get(u32 param_0) const { return field_0x4[param_0]; }
void set(u32 param_0, u16 param_1) { field_0x4[param_0] = param_1; }
u16 field_0x0;
u16 field_0x2;
2025-12-26 13:20:53 -08:00
u16 field_0x4[MAX_PORTS];
};
2021-03-28 22:49:05 +02:00
#endif /* JASTRACKPORT_H */