MA pointers pointing to something else when sampling audio.
Im trying to build a guitar pedal on a STM32F446RE. 'SoundIN' is assigned to a pointer that is assigned to address value of the adc samples. 'SoundOUT' is half of soundIN (Just a test to see if works). However, output pointer '*outPoint' is showing a different value. When I input a sine wave of say 2Vpp, I get the exact same signal out. Shouldn't I be getting 1Vpp at the output ?
Figure 1 shows the debugger output. Shouldn't 'outPoint' be a similar value to 'soundOUT' ?
Figure 2 shows my double buffering code.
