Skip to content

Commit

Permalink
5.5.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed May 23, 2024
1 parent fd7548d commit 4b062c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/include/bofstd/bofaudio.h
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/src/bofaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -145,7 +145,7 @@ bool BofAudioDevice::InitEngineDevice(BOF_AUDIO_ENGINE_ID _AudioEngineId_E, cons

mpAudioEngine_X[_AudioEngineId_E].MaConfig_X.playback.format = static_cast<ma_format>(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;
Expand Down

0 comments on commit 4b062c2

Please sign in to comment.