Oops, need to init the voice_buf indexes too. :-)

Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a
This commit is contained in:
Michael Sevakis 2012-05-02 18:25:34 -04:00
parent 7e3e9b9289
commit c0208f0f64

View file

@ -323,6 +323,7 @@ static void voice_data_init(struct voice_thread_data *td)
mixer_channel_set_amplitude(PCM_MIXER_CHAN_VOICE, MIX_AMP_UNITY);
voice_buf->frame_in = voice_buf->frame_out = 0;
voice_buf->td = td;
td->dst = NULL;
}