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

ALSA_support: correct the sampling rate returnal


Signed-off-by: default avatarDamian Karaś <s176030@student.pg.edu.pl>
parent 489e841d
Branches
No related merge requests found
......@@ -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
{
......
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