- remove some minor bugs

- do some cosmetics
- improve server now generation
- improve playback synchronization
  o use two audio pipelines so we can tap into decoded audio and apply collected timestamps from encoded chunks to PCM chunks in decoder write callback
  o do hard synchronization on PCM stream and then start playback
  o TODO: sample stuffing/skipping to keep a good sync
  o TODO: for some reason playback hangs after a while on timestampQueue write
This commit is contained in:
Carlos
2020-12-20 00:41:32 +01:00
Unverified
parent 1e1893bb49
commit 4a25243c9d
2 changed files with 357 additions and 280 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -121,8 +121,8 @@ CONFIG_PARTITION_TABLE_MD5=y
#
# Access Point configuration
#
CONFIG_ESP_WIFI_SSID="zuhause"
CONFIG_ESP_WIFI_PASSWORD="dErtischlEr"
CONFIG_ESP_WIFI_SSID=""
CONFIG_ESP_WIFI_PASSWORD=""
# end of Access Point configuration
#
@@ -419,7 +419,7 @@ CONFIG_SPIRAM_BOOT_INIT=y
# CONFIG_SPIRAM_USE_MEMMAP is not set
# CONFIG_SPIRAM_USE_CAPS_ALLOC is not set
CONFIG_SPIRAM_USE_MALLOC=y
CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_MEMTEST is not set
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
# CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768