From 4b062c245433c9690a3f6720aac1b82b1de42ce5 Mon Sep 17 00:00:00 2001 From: "HARMEL, Bernard" Date: Thu, 23 May 2024 12:43:31 +0200 Subject: [PATCH] 5.5.4.3 --- lib/include/bofstd/bofaudio.h | 4 ++-- lib/src/bofaudio.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/include/bofstd/bofaudio.h b/lib/include/bofstd/bofaudio.h index a17560e..53aada3 100644 --- a/lib/include/bofstd/bofaudio.h +++ b/lib/include/bofstd/bofaudio.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2044, EVS Broadcast Equipment S.A. All rights reserved. + * Copyright (c) 2024-2029, Onbings. All rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE @@ -8,7 +8,7 @@ * * This module defines different audio interface * - * Author: Bernard HARMEL: b.harmel@evs.com + * Author: Bernard HARMEL: onbings@gmail.com * * History: * V 1.00 Apr 11 2024 BHA : Initial release diff --git a/lib/src/bofaudio.cpp b/lib/src/bofaudio.cpp index 3cb4a9b..cfdce0b 100644 --- a/lib/src/bofaudio.cpp +++ b/lib/src/bofaudio.cpp @@ -8,7 +8,7 @@ * * This module implements different Audio interface * - * Author: Bernard HARMEL: b.harmel@evs.com + * Author: Bernard HARMEL: onbings@gmail.com * * History: * V 1.00 Apr 11 2024 BHA : Initial release @@ -145,7 +145,7 @@ bool BofAudioDevice::InitEngineDevice(BOF_AUDIO_ENGINE_ID _AudioEngineId_E, cons mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.playback.format = static_cast(mpAudioEngine_X[_AudioEngineId_E].AudioCbParam_X.AudioFormat_E); // ma_format_s32; mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.playback.channels = mpAudioEngine_X[_AudioEngineId_E].AudioCbParam_X.NbChannel_U32; - mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.sampleRate = mpAudioEngine_X[_AudioEngineId_E].AudioCbParam_X.SampleRate_U32;// APE::AUDIO_SAMPLE_RATE; + mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.sampleRate = mpAudioEngine_X[_AudioEngineId_E].AudioCbParam_X.SampleRate_U32; mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.dataCallback = Cb_OnNeedAudioData; // This function will be called when miniaudio needs more data. mpAudioEngine_X[BOF_AUDIO_ENGINE_ID_PLAYBACK].AudioCbParam_X.AudioEngineId_E = _AudioEngineId_E; mpAudioEngine_X[BOF_AUDIO_ENGINE_ID_PLAYBACK].AudioCbParam_X.pAudioDevice = this;