From c0208f0f64c68a97c67e42efc1b39df7c75bf7da Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 2 May 2012 18:25:34 -0400 Subject: Oops, need to init the voice_buf indexes too. :-) Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a --- apps/voice_thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') diff --git a/apps/voice_thread.c b/apps/voice_thread.c index d0d36b4064..1a86dc7cfa 100644 --- a/apps/voice_thread.c +++ b/apps/voice_thread.c @@ -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; } -- cgit v1.2.3