Commit 369bcf0e authored by Hendrik Langer's avatar Hendrik Langer

Fix pausing webstream

parent 4e95bba3
...@@ -2109,7 +2109,7 @@ uint32_t Audio::stopSong() { ...@@ -2109,7 +2109,7 @@ uint32_t Audio::stopSong() {
bool Audio::pauseResume() { bool Audio::pauseResume() {
xSemaphoreTake(mutex_audio, portMAX_DELAY); xSemaphoreTake(mutex_audio, portMAX_DELAY);
bool retVal = false; bool retVal = false;
if(getDatamode() == AUDIO_LOCALFILE || m_streamType == ST_WEBSTREAM) { if(getDatamode() == AUDIO_LOCALFILE || m_streamType == ST_WEBSTREAM || m_streamType == ST_WEBFILE) {
m_f_running = !m_f_running; m_f_running = !m_f_running;
retVal = true; retVal = true;
if(!m_f_running) { if(!m_f_running) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment