diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2012-05-02 18:25:34 -0400 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2012-05-02 18:25:34 -0400 |
| commit | c0208f0f64c68a97c67e42efc1b39df7c75bf7da (patch) | |
| tree | f8f3554972269d42acb7114639df4eb091e0f144 /apps | |
| parent | 7e3e9b92891bbc871b458f192994108eae3bd796 (diff) | |
| download | rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.zip rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.tar.gz rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.tar.bz2 rockbox-c0208f0f64c68a97c67e42efc1b39df7c75bf7da.tar.xz | |
Oops, need to init the voice_buf indexes too. :-)
Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/voice_thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c index d0d36b4..1a86dc7 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; } |