initialize variables to avoid possible junk values

Signed-off-by: Dave Horton <daveh@beachdognet.com>
This commit is contained in:
Dave Horton
2024-04-22 16:06:32 -04:00
parent 83a2d1d730
commit fea51d5ecf
2 changed files with 9 additions and 1 deletions

View File

@@ -764,7 +764,9 @@ extern "C" {
conn->file = d->file;
conn->body = json;
conn->flushed = false;
conn->has_last_byte = false;
conn->last_byte = 0;
d->circularBuffer = (void *) new CircularBuffer_t(BUFFER_GROW_SIZE);
// Always use deepgram at rate 8000 for helping cache audio from jambonz.