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
b4684f89
Commit
b4684f89
authored
May 22, 2024
by
schreibfaul1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typing short -> int16_t, long int32_t
parent
dd541712
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
383 additions
and
383 deletions
+383
-383
src/Audio.cpp
src/Audio.cpp
+1
-1
src/mp3_decoder/mp3_decoder.cpp
src/mp3_decoder/mp3_decoder.cpp
+230
-230
src/mp3_decoder/mp3_decoder.h
src/mp3_decoder/mp3_decoder.h
+152
-152
No files found.
src/Audio.cpp
View file @
b4684f89
...
...
@@ -4443,7 +4443,7 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
switch
(
m_codec
)
{
case
CODEC_WAV
:
m_decodeError
=
0
;
bytesLeft
=
0
;
break
;
case
CODEC_MP3
:
m_decodeError
=
MP3Decode
(
data
,
(
int
*
)
&
bytesLeft
,
m_outBuff
,
0
);
break
;
case
CODEC_MP3
:
m_decodeError
=
MP3Decode
(
data
,
&
bytesLeft
,
m_outBuff
,
0
);
break
;
case
CODEC_AAC
:
m_decodeError
=
AACDecode
(
data
,
(
int
*
)
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_M4A
:
m_decodeError
=
AACDecode
(
data
,
(
int
*
)
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_FLAC
:
m_decodeError
=
FLACDecode
(
data
,
&
bytesLeft
,
m_outBuff
);
break
;
...
...
src/mp3_decoder/mp3_decoder.cpp
View file @
b4684f89
This diff is collapsed.
Click to expand it.
src/mp3_decoder/mp3_decoder.h
View file @
b4684f89
This diff is collapsed.
Click to expand it.
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