Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESP32-audioI2S
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ESP32-audioI2S
Commits
f2f1f5bc
Unverified
Commit
f2f1f5bc
authored
Jan 07, 2024
by
Wolle
Committed by
GitHub
Jan 07, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #649 from h3ndrik/esphome_webstream
Fix pausing webstream
parents
16389579
369bcf0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Audio.cpp
src/Audio.cpp
+1
-1
No files found.
src/Audio.cpp
View file @
f2f1f5bc
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment