summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-05-02 18:25:34 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-05-02 18:25:34 -0400
commitc0208f0f64c68a97c67e42efc1b39df7c75bf7da (patch)
treef8f3554972269d42acb7114639df4eb091e0f144 /apps
parent7e3e9b92891bbc871b458f192994108eae3bd796 (diff)
downloadrockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.tar.gz
rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.tar.bz2
rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.zip
Oops, need to init the voice_buf indexes too. :-)
Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a
Diffstat (limited to 'apps')
-rw-r--r--apps/voice_thread.c1
1 files changed, 1 insertions, 0 deletions
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;
}