parent
f94cd57a70
commit
8f8e7681b2
|
@ -253,8 +253,9 @@ struct AXPB
|
|||
PBSampleRateConverter src;
|
||||
PBADPCMLoopInfo adpcm_loop_info;
|
||||
PBLowPassFilter lpf;
|
||||
u16 loop_counter;
|
||||
|
||||
u16 padding[25];
|
||||
u16 padding[24];
|
||||
};
|
||||
|
||||
struct PBBiquadFilter
|
||||
|
|
|
@ -234,6 +234,13 @@ u16 AcceleratorGetSample()
|
|||
acc_pb->adpcm.yn1 = acc_pb->adpcm_loop_info.yn1;
|
||||
acc_pb->adpcm.yn2 = acc_pb->adpcm_loop_info.yn2;
|
||||
}
|
||||
#ifdef AX_GC
|
||||
else
|
||||
{
|
||||
// If we're streaming, increment the loop counter.
|
||||
acc_pb->loop_counter++;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue