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
7d2b014f
Unverified
Commit
7d2b014f
authored
Feb 09, 2023
by
Wolle
Committed by
GitHub
Feb 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
c12a22fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/Audio.cpp
src/Audio.cpp
+2
-0
No files found.
src/Audio.cpp
View file @
7d2b014f
...
...
@@ -3949,6 +3949,8 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
m_validSamples
=
AACGetOutputSamps
()
/
getChannels
();
}
if
(
m_codec
==
CODEC_FLAC
||
m_codec
==
CODEC_OGG_FLAC
){
const
uint8_t
FLAC_PARSE_OGG_DONE
=
100
;
if
(
ret
==
FLAC_PARSE_OGG_DONE
)
return
bytesDecoded
;
// nothing to play
m_validSamples
=
FLACGetOutputSamps
()
/
getChannels
();
char
*
st
=
FLACgetStreamTitle
();
if
(
st
){
...
...
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