Skip to content

Commit fb07785

Browse files
authored
Update Audio.cpp
client.clear() only in V3...
1 parent 4b69e6f commit fb07785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Audio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ void Audio::setDefaults() {
331331
m_hashQueue.clear();
332332
m_hashQueue.shrink_to_fit(); // uint32_t vector
333333
client.stop();
334-
client.clear(); // delete all leftovers in the receive buffer
334+
// client.clear(); // delete all leftovers in the receive buffer
335335
clientsecure.stop();
336-
clientsecure.clear(); // delete all leftovers in the receive buffer
336+
// clientsecure.clear(); // delete all leftovers in the receive buffer
337337
_client = static_cast<WiFiClient*>(&client); /* default to *something* so that no NULL deref can happen */
338338
ts_parsePacket(0, 0, 0); // reset ts routine
339339
if(m_lastM3U8host) {

0 commit comments

Comments
 (0)