Re-enable the parts of the audio pipeline that are working
This commit is contained in:
+1
-4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user