From 0af72cd06464f9ed7120597dcc7776449c6fd963 Mon Sep 17 00:00:00 2001 From: max_10 Date: Thu, 9 Mar 2023 11:54:20 +0100 Subject: [PATCH] - fix build raspi Signed-off-by: GetAway --- libraspi/audio.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraspi/audio.cpp b/libraspi/audio.cpp index 77da6a8..2ede04c 100644 --- a/libraspi/audio.cpp +++ b/libraspi/audio.cpp @@ -83,9 +83,11 @@ void cAudio::SetSyncMode(AVSYNC_TYPE Mode) hal_debug("%s %d\n", __func__, Mode); }; -void cAudio::SetStreamType(AUDIO_FORMAT type) +void cAudio::SetStreamType(int bypass) { - hal_debug("%s %d\n", __func__, type); + StreamType = bypass; + + hal_debug("%s %d (0x%x)\n", __FUNCTION__, bypass, bypass); }; int cAudio::setChannel(int /*channel*/)