Update miniaudio to 0.11.24 (#774)

This commit is contained in:
Christian Semmler 2026-01-30 19:42:06 -08:00 committed by GitHub
parent a3122cd209
commit bae8c292f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 9 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 4a5b74bef029b3592c54b6048650ee5f972c1a48
Subproject commit 347321b27c58d42567e905c715de60ad43a6cb8e

View File

@ -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());