esp-who/examples/esp32-s3-eye/main/include/app_speech.hpp

24 lines
389 B
C++
Raw Normal View History

2022-03-02 19:38:29 +08:00
#pragma once
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "esp_afe_sr_iface.h"
#include "__base__.hpp"
class AppSpeech : public Subject
{
public:
const esp_afe_sr_iface_t *afe_handle;
esp_afe_sr_data_t *afe_data;
bool detected;
command_word_t command;
AppSpeech();
void run();
};