From de4a0279efefdd2e4595c8fc27f1564f4bff9341 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 5 Jan 2015 04:27:03 +0200 Subject: spu: finish offload code to TI C64x DSP rather disappointing result so far, though :( --- plugins/dfsound/registers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/dfsound/registers.c') diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c index f6da131..7a49b1c 100644 --- a/plugins/dfsound/registers.c +++ b/plugins/dfsound/registers.c @@ -498,7 +498,8 @@ static void SetPitch(int ch,unsigned short val) // SET PITCH spu.s_chan[ch].iRawPitch=NP; spu.s_chan[ch].sinc=(NP<<4)|8; spu.s_chan[ch].sinc_inv=0; - if(spu_config.iUseInterpolation==1) spu.s_chan[ch].SB[32]=1; // -> freq change in simple interpolation mode: set flag + if (spu_config.iUseInterpolation == 1) + spu.SB[ch * SB_SIZE + 32] = 1; // -> freq change in simple interpolation mode: set flag } //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3