Re-enable the parts of the audio pipeline that are working

This commit is contained in:
jacqueline
2023-01-21 19:01:54 +11:00
parent c7901ae429
commit 8ed3d7e31f
5 changed files with 70 additions and 47 deletions
+1 -4
View File
@@ -122,8 +122,6 @@ extern "C" void app_main(void) {
(void*)lvglArgs, 1, sLvglStack,
&sLvglTaskBuffer, 1);
// TODO(jacqueline): re-enable this once our pipeline works.
/*
ESP_LOGI(TAG, "Init audio pipeline");
auto playback_res = audio::AudioPlayback::create(expander, storage);
if (playback_res.has_error()) {
@@ -132,10 +130,9 @@ extern "C" void app_main(void) {
}
std::shared_ptr<audio::AudioPlayback> playback =
std::move(playback_res.value());
*/
ESP_LOGI(TAG, "Launch console");
console::AppConsole console(nullptr);
console::AppConsole console(playback.get());
console.Launch();
while (1) {