X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fpcm_utils.cc;fp=libs%2Fardour%2Fpcm_utils.cc;h=de3497d97709c27127f025e177eaa8bcb0b95013;hb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;hp=0e810ba5997e8c3ab6fc3e4bb2a4d49b4b9d1d84;hpb=8c4ce1e2ce35571aed5a686671431fdfffae7f8c;p=ardour.git diff --git a/libs/ardour/pcm_utils.cc b/libs/ardour/pcm_utils.cc index 0e810ba599..de3497d977 100644 --- a/libs/ardour/pcm_utils.cc +++ b/libs/ardour/pcm_utils.cc @@ -38,7 +38,7 @@ pcm_let2f_array (tribyte *src, int count, float *dest) static const float normfact = 1.0 / ((float) 0x80000000); unsigned char *ucptr ; - int value ; + int value ; ucptr = ((unsigned char*) src) + 3 * count ; while (--count >= 0) @@ -53,11 +53,11 @@ pcm_bet2f_array (tribyte *src, int count, float *dest) { /* Special normfactor because tribyte value is read into an int. */ static const float normfact = 1.0 / ((float) 0x80000000); - + unsigned char *ucptr ; int value ; - + ucptr = ((unsigned char*) src) + 3 * count ; while (--count >= 0) { ucptr -= 3 ; @@ -125,7 +125,7 @@ void pcm_f2bet_array (const float *src, tribyte *dest, int count) { static const float normfact = (1.0 * 0x7FFFFF); - + unsigned char *ucptr ; int value ;