spaces to tabs

This commit is contained in:
TurtleP 2022-09-25 12:33:23 -04:00 committed by fincs
parent 58719f32ac
commit af5321c78e

View File

@ -125,8 +125,8 @@ void ndspChnSetInterp(int id, ndspInterpType type)
ndspInterpType ndspChnGetInterp(int id) ndspInterpType ndspChnGetInterp(int id)
{ {
ndspChnSt* chn = &ndspChn[id]; ndspChnSt* chn = &ndspChn[id];
return chn->interpType; return chn->interpType;
} }
void ndspChnSetRate(int id, float rate) void ndspChnSetRate(int id, float rate)
@ -140,7 +140,7 @@ void ndspChnSetRate(int id, float rate)
float ndspChnGetRate(int id) float ndspChnGetRate(int id)
{ {
ndspChnSt* chn = &ndspChn[id]; ndspChnSt* chn = &ndspChn[id];
return chn->rate; return chn->rate;
} }
@ -155,10 +155,10 @@ void ndspChnSetMix(int id, float mix[12])
void ndspChnGetMix(int id, float out_mix[12]) void ndspChnGetMix(int id, float out_mix[12])
{ {
ndspChnSt* chn = &ndspChn[id]; ndspChnSt* chn = &ndspChn[id];
LightLock_Lock(&chn->lock); LightLock_Lock(&chn->lock);
memcpy(out_mix, chn->mix, sizeof(ndspChn[id].mix)); memcpy(out_mix, chn->mix, sizeof(ndspChn[id].mix));
LightLock_Unlock(&chn->lock); LightLock_Unlock(&chn->lock);
} }
void ndspChnSetAdpcmCoefs(int id, u16 coefs[16]) void ndspChnSetAdpcmCoefs(int id, u16 coefs[16])