diff --git a/ChangeLog b/ChangeLog index 0fc3e2c7..8ef55454 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14878,3 +14878,6 @@ 'cae/cae_alsa.cpp' and 'cae/cae.h'. 2015-09-08 Fred Gleason * Incremented the package version to 2.10.3pcm24.1. +2015-09-09 Fred Gleason + * Added 'src_float_to_int()' and 'src_int_to_float()' functions in + 'cae/cae.cpp' and 'cae/cae.h'. diff --git a/cae/cae.cpp b/cae/cae.cpp index 60af0186..bd78dcdb 100644 --- a/cae/cae.cpp +++ b/cae/cae.cpp @@ -57,6 +57,23 @@ extern jack_client_t *jack_client; #define PRINT_COMMANDS +#ifndef HAVE_SRC_CONV +void src_int_to_float_array (const int *in, float *out, int len) +{ + for(int i=0;i #include +#ifndef HAVE_SRC_CONV +void src_int_to_float_array (const int *in, float *out, int len); +void src_float_to_int_array (const float *in, int *out, int len); +#endif // HAVE_SRC_CONV + // // Debug Options //