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
567abd22
Commit
567abd22
authored
May 22, 2024
by
schreibfaul1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typing short -> int16_t, long int32_t
parent
f96506ba
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
274 additions
and
274 deletions
+274
-274
src/Audio.cpp
src/Audio.cpp
+2
-2
src/Audio.h
src/Audio.h
+1
-1
src/vorbis_decoder/vorbis_decoder.cpp
src/vorbis_decoder/vorbis_decoder.cpp
+202
-202
src/vorbis_decoder/vorbis_decoder.h
src/vorbis_decoder/vorbis_decoder.h
+69
-69
No files found.
src/Audio.cpp
View file @
567abd22
...
...
@@ -3,7 +3,7 @@
*
* Created on: Oct 26.2018
*
* Version 3.0.
9l
* Version 3.0.
10
* Updated on: May 22.2024
* Author: Wolle (schreibfaul1)
*
...
...
@@ -4448,7 +4448,7 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
case
CODEC_M4A
:
m_decodeError
=
AACDecode
(
data
,
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_FLAC
:
m_decodeError
=
FLACDecode
(
data
,
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_OPUS
:
m_decodeError
=
OPUSDecode
(
data
,
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_VORBIS
:
m_decodeError
=
VORBISDecode
(
data
,
(
int
*
)
&
bytesLeft
,
m_outBuff
);
break
;
case
CODEC_VORBIS
:
m_decodeError
=
VORBISDecode
(
data
,
&
bytesLeft
,
m_outBuff
);
break
;
default:
{
log_e
(
"no valid codec found codec = %d"
,
m_codec
);
stopSong
();
...
...
src/Audio.h
View file @
567abd22
...
...
@@ -3,7 +3,7 @@
*
* Created on: Oct 28,2018
*
* Version 3.0.
9l
* Version 3.0.
10
* Updated on: May 18.2024
* Author: Wolle (schreibfaul1)
*/
...
...
src/vorbis_decoder/vorbis_decoder.cpp
View file @
567abd22
This diff is collapsed.
Click to expand it.
src/vorbis_decoder/vorbis_decoder.h
View file @
567abd22
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