diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index 5e97b83cc0..9888f56442 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -74,7 +74,7 @@ bool Alsa9Buf::SetHWParams() ALSA_CHECK("dsnd_pcm_hw_params_set_buffer_size_near"); /* The period size is roughly equivalent to what we call the chunksize. */ - int dir; + int dir = 0; err = dsnd_pcm_hw_params_set_period_size_near( pcm, hwparams, &chunksize, &dir ); ALSA_CHECK("dsnd_pcm_hw_params_set_period_size_near");