2021-04-01 02:07:58 +02:00
|
|
|
#include "JSystem/JAudio2/JAISoundChild.h"
|
2023-05-12 12:10:14 -07:00
|
|
|
#include "JSystem/JAudio2/JASTrack.h"
|
2021-03-28 22:49:05 +02:00
|
|
|
#include "dol2asm.h"
|
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
|
|
2021-09-30 07:13:49 -07:00
|
|
|
void JAISoundChild::init() {
|
|
|
|
|
mMove.init();
|
|
|
|
|
mParams.init();
|
2021-03-28 22:49:05 +02:00
|
|
|
}
|
|
|
|
|
|
2021-09-30 07:13:49 -07:00
|
|
|
void JAISoundChild::mixOut(JASTrack* pTrack) {
|
|
|
|
|
mParams = mMove.mParams;
|
|
|
|
|
pTrack->assignExtBuffer(0, &mParams);
|
2021-03-28 22:49:05 +02:00
|
|
|
}
|
|
|
|
|
|
2021-09-30 07:13:49 -07:00
|
|
|
void JAISoundChild::calc() {
|
|
|
|
|
mMove.calc();
|
2021-03-28 22:49:05 +02:00
|
|
|
}
|