Skip to content
Snippets Groups Projects
Commit add6d8c3 authored by Damian Karaś's avatar Damian Karaś
Browse files

ALSA_support: correct returning to sampling rate in opening methods


Signed-off-by: default avatarDamian Karaś <s176030@student.pg.edu.pl>
parent 4b071ea9
No related merge requests found
......@@ -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
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment