diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp index 81a5e27f4b34296fb9817ff6f645ae5df2c93fbd..786a48c579279a2907d96f25690aa006a3a6d61c 100644 --- a/src/cpp/ALSA_support.cpp +++ b/src/cpp/ALSA_support.cpp @@ -583,7 +583,7 @@ long DSP::ALSA_object_t::open_PCM_device_4_output(const int &no_of_channels, int if(rc > 0) { IsDeviceOutputOpen = true; - return sampling_rate; + return sampling_rate_alsa; } else @@ -607,7 +607,7 @@ long DSP::ALSA_object_t::open_PCM_device_4_input(const int &no_of_channels, int if(rc > 0) { IsDeviceInputOpen = true; - return sampling_rate; + return sampling_rate_alsa; } else {