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

src/cpp/ALSA_support.cpp: small fixes


Signed-off-by: default avatarDamian Karaś <s176030@student.pg.edu.pl>
parent add6d8c3
Branches
No related merge requests found
......@@ -18,10 +18,10 @@ DSP::ALSA_object_t::ALSA_object_t()
alsa_handle = NULL;
hw_params = NULL;
std::string endianess;
endianess = system("lscpu | grep \"Byte Order\" | egrep -o 'Little Endian|Big Endian'");
std::string endianness;
endianness = system("lscpu | grep \"Byte Order\" | egrep -o 'Little Endian|Big Endian'");
if (endianess == "Big Endian")
if (endianness == "Big Endian")
IsLittleEndian = false;
else
IsLittleEndian = true;
......@@ -904,7 +904,7 @@ void DSP::ALSA_object_t::close_alsa_device(bool do_drain, bool use_log)
if (use_log == true)
{
DSP::log << "ALSA PCM sound closed" << endl;
DSP::log << "ALSA PCM sound closed." << endl;
}
IsDeviceInputOpen = false;
......
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