From 9bb1ccc980aa767087ad111f862bea8328cbfee8 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 22:50:08 +0100
Subject: [PATCH] ALSA_support: add the comment about giving InSampleType
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, 2 insertions(+), 2 deletions(-)

diff --git a/src/cpp/ALSA_support.cpp b/src/cpp/ALSA_support.cpp
index 4ba6685..ac3de27 100644
--- a/src/cpp/ALSA_support.cpp
+++ b/src/cpp/ALSA_support.cpp
@@ -891,7 +891,7 @@ bool DSP::ALSA_object_t::get_wave_in_raw_buffer(DSP::e::SampleType &InSampleType
 {
   assert(!"DSP::ALSA_object_t::get_wave_in_raw_buffer not implemented yet");
 
-  InSampleTypeALSA = InSampleType;
+  InSampleTypeALSA = InSampleType; // DSP::e::SampleType::ST_uchar should be given
 
   snd_pcm_sframes_t rc;
   // one spare buffer
@@ -910,7 +910,7 @@ bool DSP::ALSA_object_t::get_wave_in_raw_buffer(DSP::e::SampleType &InSampleType
         
           snd_pcm_prepare(alsa_handle);
           break;
-          
+
         case EAGAIN:
 
           #ifdef AUDIO_DEBUG_MESSAGES_ON
-- 
GitLab