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
6793db0b
Unverified
Commit
6793db0b
authored
Jul 28, 2022
by
Wolle
Committed by
GitHub
Jul 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more hls (ts) streams works now
parent
6aece4dc
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
149 additions
and
100 deletions
+149
-100
src/Audio.cpp
src/Audio.cpp
+146
-98
src/Audio.h
src/Audio.h
+3
-2
No files found.
src/Audio.cpp
View file @
6793db0b
This diff is collapsed.
Click to expand it.
src/Audio.h
View file @
6793db0b
/*
* Audio.h
*
* Created on: Oct 2
6
,2018
* Created on: Oct 2
8
,2018
* Updated on: Jul 25,2022
* Author: Wolle (schreibfaul1)
*/
...
...
@@ -410,7 +410,7 @@ private:
M4A_ILST
=
7
,
M4A_MP4A
=
8
,
M4A_AMRDY
=
99
,
M4A_OKAY
=
100
};
enum
:
int
{
OGG_BEGIN
=
0
,
OGG_MAGIC
=
1
,
OGG_HEADER
=
2
,
OGG_FIRST
=
3
,
OGG_AMRDY
=
99
,
OGG_OKAY
=
100
};
enum
:
int
{
CODEC_NONE
=
0
,
CODEC_WAV
=
1
,
CODEC_MP3
=
2
,
CODEC_AAC
=
3
,
CODEC_M4A
=
4
,
CODEC_FLAC
=
5
,
CODEC_OGG
=
6
,
CODEC_OGG_FLAC
=
7
,
CODEC_OGG_OPUS
=
8
};
CODEC_OGG
=
6
,
CODEC_OGG_FLAC
=
7
,
CODEC_OGG_OPUS
=
8
,
CODEC_AACP
=
9
};
enum
:
int
{
ST_NONE
=
0
,
ST_WEBFILE
=
1
,
ST_WEBSTREAM
=
2
};
typedef
enum
{
LEFTCHANNEL
=
0
,
RIGHTCHANNEL
=
1
}
SampleIndex
;
typedef
enum
{
LOWSHELF
=
0
,
PEAKEQ
=
1
,
HIFGSHELF
=
2
}
FilterType
;
...
...
@@ -473,6 +473,7 @@ private:
uint8_t
m_expectedPlsFmt
=
FORMAT_NONE
;
// set in connecttohost (e.g. streaming01.m3u) -> FORMAT_M3U)
uint8_t
m_filterType
[
2
];
// lowpass, highpass
uint8_t
m_streamType
=
ST_NONE
;
uint8_t
m_ID3Size
=
0
;
// lengt of ID3frame - ID3header
int16_t
m_outBuff
[
2048
*
2
];
// Interleaved L/R
int16_t
m_validSamples
=
0
;
int16_t
m_curSample
=
0
;
...
...
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