mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
initialise stereo_buffer to 0 to prevent a race condition
This commit is contained in:
@@ -16,7 +16,7 @@ extern long soundSampleRate; // current sound quality
|
||||
gb_effects_config_t gb_effects_config = { false, 0.20f, 0.15f, false };
|
||||
|
||||
static gb_effects_config_t gb_effects_config_current;
|
||||
static Simple_Effects_Buffer* stereo_buffer;
|
||||
static Simple_Effects_Buffer* stereo_buffer = 0;
|
||||
static Gb_Apu* gb_apu;
|
||||
|
||||
static float soundVolume_ = -1;
|
||||
|
Reference in New Issue
Block a user