- 13 Feb, 2022 1 commit
-
-
Stefan Seyfried authored
The ESP-IDF core code actually uses PSRAM also for standard "malloc" & friends if it is available and the allocation id bigger than a certain threshold (4kB by default). To make sure that the AAC decoder buffers, especially the m_PSInfoSBR end up in RAM, use low level allocator calls to specify where to alloc stuff. This also gets rid of the "try malloc RAM first, if this fails fall back to ps_malloc" code, which probably did not do what was wanted anyway. This fixes stuttering SBR playback for me, which was caused by m_PSInfoSBR ending up in PSRAM unexpectedly.
-
- 05 Feb, 2022 5 commits
- 04 Feb, 2022 9 commits
- 28 Jan, 2022 2 commits
-
-
Wolle authored
getBitRate: add option for average bitrate
-
Stefan Seyfried authored
-
- 24 Jan, 2022 1 commit
-
-
Wolle authored
add getCodec() and getCodecname() functions
-
- 23 Jan, 2022 6 commits
-
-
Stefan Seyfried authored
getCodecname() allows for simple display of the used codec, getCodec() together with the exported enum of codec values allows for user defined codec names like this stupid example: switch (audio.getCodec()) { case Audio::CODEC_M4A: case Audio::CODEC_AAC: Serial.println("AAC codec!"); break; case Audio::CODEC_FLAC: case AUDIO::CODEC_OGG_FLAC: Serial.println("FLAC!"); break; }
-
Wolle authored
-
Wolle authored
Buffersize configurable
-
Stefan Seyfried authored
(no functional change)
-
Stefan Seyfried authored
instead of the fixed buffer size of 300000 for PSRAM and 8000 for non-PSRAM setup, allow to configure the buffer sizes, example code for that is audio.setBuffersize(32768, 0); which will set the RAM buffer size to 32k and disable PSRAM usage. I am investigating "bad WiFi throughput with PSRAM" issues and disabling PSRAM is one workaround I found.
-
Stefan Seyfried authored
if InBuff is initialized should be a property of the AudioBuffer, the calling code should not keep track of that.
-
- 22 Jan, 2022 1 commit
-
-
Wolle authored
-
- 20 Jan, 2022 1 commit
-
-
Wolle authored
-
- 19 Jan, 2022 5 commits
-
-
Wolle authored
Optimize audio info, avoid strdup where easily possible
-
Stefan Seyfried authored
this saves about 1k binary size
-
Stefan Seyfried authored
if no audio_info() function is available, still lots of strings are sprintf()'ed into buffers, just to be not used at all. Check for existence of audio_info() before doing that. For many cases, this is achieved with a simple macro. Ugly but effective.
-
Wolle authored
-
Wolle authored
simplify http / https handling
-
- 18 Jan, 2022 2 commits
-
-
Stefan Seyfried authored
this got (accidentally?) lost in the previous unrelated commit 31e32ccc
-
Stefan Seyfried authored
instead of duplicating code for both WiFiClient and WiFiClientSecure, use one pointer that gets assigned the corresponding class.
-
- 10 Jan, 2022 1 commit
-
-
Wolle authored
-
- 09 Jan, 2022 3 commits
- 05 Jan, 2022 1 commit
-
-
Wolle authored
[-Wformat-overflow=] and [-Wmisleading-indentation]
-
- 04 Jan, 2022 2 commits