Skip to content

Commit 1867273

Browse files
committed
improve openai_speech() #1020
1 parent cae706e commit 1867273

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Audio.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
audio.cpp
44
55
Created on: Oct 28.2018 */char audioI2SVers[] ="\
6-
Version 3.1.0t ";
7-
/* Updated on: Apr 23.2025
6+
Version 3.1.0u ";
7+
/* Updated on: Apr 26.2025
88
99
Author: Wolle (schreibfaul1)
1010
Audio library for ESP32 or ESP32-S3
@@ -469,7 +469,7 @@ bool Audio::openai_speech(const String& api_key, const String& model, const Stri
469469
if (response_format == "aac") m_expectedCodec = CODEC_AAC;
470470
if (response_format == "flac") m_expectedCodec = CODEC_FLAC;
471471
m_dataMode = HTTP_RESPONSE_HEADER;
472-
m_streamType = ST_WEBSTREAM;
472+
m_streamType = ST_WEBFILE;
473473
} else {
474474
AUDIO_INFO("Request %s failed!", host);
475475
// x_ps_free(&m_lastHost);

0 commit comments

Comments
 (0)