mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-02 03:51:16 +00:00
Update miniaudio to 0.11.24 (#774)
This commit is contained in:
parent
a3122cd209
commit
bae8c292f5
9
3rdparty/CMakeLists.txt
vendored
9
3rdparty/CMakeLists.txt
vendored
@ -5,10 +5,13 @@ if(DOWNLOAD_DEPENDENCIES)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
miniaudio
|
||||
URL https://github.com/mackron/miniaudio/archive/refs/tags/0.11.22.tar.gz
|
||||
URL_MD5 4944268151ad037f148b089237566d05
|
||||
URL https://github.com/mackron/miniaudio/archive/refs/tags/0.11.24.tar.gz
|
||||
URL_MD5 19e8eb21223c56a4a2d167d04decddc9
|
||||
)
|
||||
FetchContent_MakeAvailable(miniaudio)
|
||||
block()
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
FetchContent_MakeAvailable(miniaudio)
|
||||
endblock()
|
||||
else()
|
||||
add_library(miniaudio STATIC
|
||||
miniaudio/extras/miniaudio_split/miniaudio.c
|
||||
|
||||
2
3rdparty/miniaudio
vendored
2
3rdparty/miniaudio
vendored
@ -1 +1 @@
|
||||
Subproject commit 4a5b74bef029b3592c54b6048650ee5f972c1a48
|
||||
Subproject commit 347321b27c58d42567e905c715de60ad43a6cb8e
|
||||
@ -174,11 +174,6 @@ void MxWavePresenter::StartingTickle()
|
||||
goto done;
|
||||
}
|
||||
|
||||
// [library:audio]
|
||||
// There is an issue with certain spatialized sounds causing an audio glitch.
|
||||
// To temporarily resolve this, we can disable the Doppler effect.
|
||||
// More info: https://github.com/mackron/miniaudio/issues/885
|
||||
ma_sound_set_doppler_factor(m_sound, 0.0f);
|
||||
ma_sound_set_looping(m_sound, m_action->IsLooping() ? m_action->GetLoopCount() > 1 : MA_TRUE);
|
||||
|
||||
SetVolume(((MxDSSound*) m_action)->GetVolume());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user