fix uninitialized value

This commit is contained in:
Glenn Maynard
2004-05-17 05:52:21 +00:00
parent 4dd6c11c72
commit c32452e740
+1 -1
View File
@@ -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");