Commit graph

6 commits

Author SHA1 Message Date
Anders Jenbo
7cb73a6717 Minimize impact of NOSOUND 2021-08-30 10:57:59 +02:00
Anders Jenbo
bee8388c20 Fix inaccurate gameplay with NOSOUND 2021-08-30 10:57:59 +02:00
Gleb Mazovetskiy
559229dea1 🐞 Duplicate sounds: Fix data race
This fixes a data race by deleting the sound exactly when it finishes
playing.

Previously, a data race could happen in
`CleanupFinishedDuplicateSounds`, where the sound would be destroyed
while Aulib was reading from its buffer.
2021-05-02 14:15:35 +01:00
Gleb Mazovetskiy
7bdfb0655c 🐞 Support multiple playback of the same sound 2021-05-02 00:36:36 +02:00
Gleb Mazovetskiy
6913ec4623 Fix missing <memory> includes 2021-04-30 16:52:53 +02:00
Gleb Mazovetskiy
57172e48ed 🔨 ⚙️ CMake: Add NOSOUND option
This option completely disables all audio handling, including audio
loading code and dependencies.

Dialog text length is estimated to be somewhere between
Cain and Griswold speed.
2021-04-29 19:43:45 +02:00