Oops, need to init the voice_buf indexes too. :-)
Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a
This commit is contained in:
parent
7e3e9b9289
commit
c0208f0f64
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue