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
17b1af98
Unverified
Commit
17b1af98
authored
Jul 30, 2021
by
Wolle
Committed by
GitHub
Jul 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GoogleTTS, better integration
parent
089303f3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
114 deletions
+110
-114
src/Audio.cpp
src/Audio.cpp
+106
-111
src/Audio.h
src/Audio.h
+4
-3
No files found.
src/Audio.cpp
View file @
17b1af98
This diff is collapsed.
Click to expand it.
src/Audio.h
View file @
17b1af98
...
...
@@ -2,7 +2,7 @@
* Audio.h
*
* Created on: Oct 26,2018
* Updated on: Jul
27
,2021
* Updated on: Jul
30
,2021
* Author: Wolle (schreibfaul1)
*/
...
...
@@ -219,7 +219,7 @@ private:
bool
readMetadata
(
uint8_t
b
);
esp_err_t
I2Sstart
(
uint8_t
i2s_num
);
esp_err_t
I2Sstop
(
uint8_t
i2s_num
);
String
urlencode
(
String
str
);
void
urlencode
(
char
*
buff
,
uint16_t
buffLen
);
int16_t
*
IIR_filterChain0
(
int16_t
iir_in
[
2
],
bool
clear
=
false
);
int16_t
*
IIR_filterChain1
(
int16_t
*
iir_in
,
bool
clear
=
false
);
int16_t
*
IIR_filterChain2
(
int16_t
*
iir_in
,
bool
clear
=
false
);
...
...
@@ -355,7 +355,8 @@ private:
bool
m_f_chunked
=
false
;
// Station provides chunked transfer
bool
m_f_firstmetabyte
=
false
;
// True if first metabyte (counter)
bool
m_f_playing
=
false
;
// valid mp3 stream recognized
bool
m_f_webfile
=
false
;
// assume it's a radiostream, not a podcast
bool
m_f_webfile
=
false
;
// assume it's a radiostream, not a podcast
bool
m_f_tts
=
false
;
// text to speech
bool
m_f_psram
=
false
;
// set if PSRAM is availabe
bool
m_f_loop
=
false
;
// Set if audio file should loop
bool
m_f_forceMono
=
false
;
// if true stereo -> mono
...
...
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