From 975f13a8adbab4f61eb3e894f34b282e76a6ad47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Damian=20Kara=C5=9B?= <s176030@student.pg.edu.pl>
Date: Sun, 14 Nov 2021 23:38:05 +0100
Subject: [PATCH] ALSA_support: delete assertions
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 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp
index 83f69dc..2fd15b9 100644
--- a/src/cpp/ALSA_support.cpp
+++ b/src/cpp/ALSA_support.cpp
@@ -883,14 +883,12 @@ bool DSP::ALSA_object_t::stop_recording(void)
 
 bool DSP::ALSA_object_t::start_recording(void)
 {
-  assert(!"DSP::ALSA_object_t::stop_recording not implemented yet");
+  IsRecordingNow = true;
   return true;
 }
 
 bool DSP::ALSA_object_t::get_wave_in_raw_buffer(DSP::e::SampleType &InSampleType, std::vector<char> &wave_in_raw_buffer)
 {
-  //assert(!"DSP::ALSA_object_t::get_wave_in_raw_buffer not implemented yet");
-
   InSampleTypeALSA = InSampleType; // DSP::e::SampleType::ST_uchar should be given
 
   snd_pcm_sframes_t rc;
-- 
GitLab