From 1931bfdd6d1b707f7fcd02e4b6f27b4c1d3ab99c Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 18 Nov 2014 16:55:51 -0800 Subject: [PATCH] cmDspPgm.c : Changed abeg[] and aend[] to double in _cmDspSysPgm_PickupFxFile() --- dsp/cmDspPgm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsp/cmDspPgm.c b/dsp/cmDspPgm.c index 6fa4515..b75fd10 100644 --- a/dsp/cmDspPgm.c +++ b/dsp/cmDspPgm.c @@ -1378,8 +1378,8 @@ cmDspRC_t _cmDspSysPgm_PickupFxFile( cmDspSysH_t h, void** userPtrPtr ) bool cfFbFl = true; unsigned sgShapeId = 2; const cmChar_t* afn = "/home/kevin/media/audio/gate_detect/gate_detect0.aif"; - unsigned abeg[] = { 9.842046, 18.838291, 27.007957, 35.562079, 45.461793, 52.920218, 60.436312, 68.913543}; - unsigned aend[] = {11.399088, 20.645229, 28.891786, 37.311349, 47.287954, 54.131251, 62.473923, 72.142964}; + double abeg[] = { 9.842046, 18.838291, 27.007957, 35.562079, 45.461793, 52.920218, 60.436312, 68.913543}; + double aend[] = {11.399088, 20.645229, 28.891786, 37.311349, 47.287954, 54.131251, 62.473923, 72.142964}; bool cfBypassFl = false; unsigned i;