forked from chmorgan/esp-audio-player
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathKconfig
More file actions
55 lines (47 loc) · 1.72 KB
/
Copy pathKconfig
File metadata and controls
55 lines (47 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
menu "Audio playback"
config AUDIO_PLAYER_ENABLE_MP3
bool "Enable mp3 decoding."
default y
help
The audio player can play mp3 files using libhelix-mp3.
config AUDIO_PLAYER_ENABLE_WAV
bool "Enable wav file playback"
default y
help
Audio player can decode wave files.
config AUDIO_PLAYER_ENABLE_HTTP_STREAM
bool "Enable HTTP streaming support"
default y
depends on AUDIO_PLAYER_ENABLE_MP3 || AUDIO_PLAYER_ENABLE_WAV
help
Enable support for streaming audio from HTTP/HTTPS URLs.
Requires the esp_http_client component.
if AUDIO_PLAYER_ENABLE_HTTP_STREAM
config AUDIO_PLAYER_HTTP_DEFAULT_BUFFER_SIZE
int "Default HTTP stream buffer size (bytes)"
default 32768
range 4096 262144
help
Default size of the ring buffer used for HTTP streaming.
config AUDIO_PLAYER_HTTP_DEFAULT_LOW_WATERMARK
int "Default HTTP stream low watermark (bytes)"
default 8192
range 1024 65536
help
Default low watermark for HTTP streaming. When buffer
falls below this level, playback will pause to rebuffer.
config AUDIO_PLAYER_HTTP_DEFAULT_HIGH_WATERMARK
int "Default HTTP stream high watermark (bytes)"
default 24576
range 2048 131072
help
Default high watermark for HTTP streaming. When buffer
reaches this level after buffering, playback will resume.
endif
config AUDIO_PLAYER_LOG_LEVEL
int "Audio Player log level (0 none - 3 highest)"
default 0
range 0 3
help
Specify the verbosity of Audio Player log output.
endmenu