mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Replace process-spawning audio with miniaudio for non-blocking playback
Eliminates severe stuttering from fork/exec + disk I/O by streaming audio directly from memory using miniaudio library.
This commit is contained in:
parent
c047446fb7
commit
bd3f1921d1
11 changed files with 96445 additions and 133 deletions
|
|
@ -99,6 +99,7 @@ set(WOWEE_SOURCES
|
|||
src/game/inventory.cpp
|
||||
|
||||
# Audio
|
||||
src/audio/audio_engine.cpp
|
||||
src/audio/music_manager.cpp
|
||||
src/audio/footstep_manager.cpp
|
||||
src/audio/activity_sound_manager.cpp
|
||||
|
|
@ -194,6 +195,7 @@ set(WOWEE_HEADERS
|
|||
include/game/world_packets.hpp
|
||||
include/game/character.hpp
|
||||
|
||||
include/audio/audio_engine.hpp
|
||||
include/audio/music_manager.hpp
|
||||
include/audio/footstep_manager.hpp
|
||||
include/audio/activity_sound_manager.hpp
|
||||
|
|
@ -265,6 +267,7 @@ target_link_libraries(wowee PRIVATE
|
|||
OpenSSL::Crypto
|
||||
Threads::Threads
|
||||
ZLIB::ZLIB
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
|
||||
target_link_libraries(wowee PRIVATE ${FFMPEG_LIBRARIES})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue