diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp
index 5ee7bcfe3fdb6d90c0eefd1dbd97be9c86e768c4..8519626bd12ddd87d0468f9db673692170c5a2e4 100644
--- a/src/cpp/ALSA_support.cpp
+++ b/src/cpp/ALSA_support.cpp
@@ -582,7 +582,7 @@ long DSP::ALSA_object_t::open_PCM_device_4_output(const int &no_of_channels, int
   if(rc > 0)
   { 
     IsDeviceOutputOpen = true;
-    return 1;
+    return sampling_rate;
   }
   
   else 
@@ -606,7 +606,7 @@ long DSP::ALSA_object_t::open_PCM_device_4_input(const int &no_of_channels, int
   if(rc > 0)
   { 
     IsDeviceInputOpen = true;
-    return 1;
+    return sampling_rate;
   }  
   else 
   {