diff options
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 5082478af..568c01bc3 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -647,7 +647,7 @@ static int speech_background(struct ast_channel *chan, void *data) } /* Write audio frame out to speech engine if no DTMF has been received */ if (!strlen(dtmf) && f != NULL && f->frametype == AST_FRAME_VOICE) { - ast_speech_write(speech, f->data, f->datalen); + ast_speech_write(speech, f->data.ptr, f->datalen); } break; case AST_SPEECH_STATE_WAIT: |