Skip to content

编译时关于wake_net.cpp的报错 #16

@leevi1994

Description

@leevi1994

d:\Arduino\��������\libraries\AI_VOX\src\core\wake_net\wake_net.cpp:21:22: error: 'ESP_AFE_SR_HANDLE' was not declared in this scope
21 | auto &g_afe_handle = ESP_AFE_SR_HANDLE;
| ^~~~~~~~~~~~~~~~~
d:\Arduino\��������\libraries\AI_VOX\src\core\wake_net\wake_net.cpp: In constructor 'WakeNet::WakeNet(std::function<void()>&&, std::shared_ptr<ai_vox::AudioInputDevice>)':
d:\Arduino\��������\libraries\AI_VOX\src\core\wake_net\wake_net.cpp:41:29: error: 'AFE_CONFIG_DEFAULT' was not declared in this scope
41 | afe_config_t afe_config = AFE_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~
d:\Arduino\��������\libraries\AI_VOX\src\core\wake_net\wake_net.cpp: In lambda function:
d:\Arduino\��������\libraries\AI_VOX\src\core\wake_net\wake_net.cpp:80:137: error: 'samples' was not declared in this scope; did you mean 'resampler_'?
80 | this, samples = g_afe_handle.get_feed_chunksize(afe_data_) * g_afe_handle.get_total_channel_num(afe_data_) mutable { FeedData(samples); });
| ^~~~~~~
| resampler_

exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions