From 9e5b36532856f07dc99e922b470fea40363f26dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Kara=C5=9B?= <s176030@student.pg.edu.pl> Date: Mon, 1 Nov 2021 20:38:51 +0100 Subject: [PATCH] src/cpp/ALSA_support.cpp: small fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Damian KaraĹ <s176030@student.pg.edu.pl> --- src/cpp/ALSA_support.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp index 8519626..998260d 100644 --- a/src/cpp/ALSA_support.cpp +++ b/src/cpp/ALSA_support.cpp @@ -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; -- GitLab