Hi,
I work with tms320C6748 lcdk and do audio processing.
I tried to attenuate audio signal on 50% of original volume.
The simple way like:
sample=audioIn;
sample*=0.5
audioOut=sample;
causes the audio distortion.
I thought, that the problem could be in byte sequence, so I modified it in this way:
sample=_swap4(audioIn);
sample*=0.5
audioOut=_swap4(sample);
but it doesn't help.
Do you have any idea how to attenuate audio signal correctly?
Thanks for your answers.
Petr Duga