From 23e90f01d45e4639b6d620ca4e653f448df6e927 Mon Sep 17 00:00:00 2001 From: max_10 Date: Thu, 9 Mar 2023 11:54:20 +0100 Subject: [PATCH] fix build raspi Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/bd7b546d3f938170d9e2b847e645c123daab9ffe Author: max_10 Date: 2023-03-09 (Thu, 09 Mar 2023) Origin message was: ------------------ - fix build raspi ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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*/)