espressif / esp-adf

Espressif Audio Development Framework
Other
1.53k stars 671 forks source link

audio_recorder: allow setting wake word (AUD-4696) #1030

Closed stintel closed 1 year ago

stintel commented 1 year ago

When building with multiple wake words enabled, the SR record seems to select a random wake word. Avoid this by adding a wn_wakeword field to the recorder_sr_cfg_t and recorder_sr_t structs.

Also add it to the DEFAULT_RECORDER_SR_CFG macro with value NULL, to maintain current default behaviour.

jason-mao commented 1 year ago

Merged by f95e0bec281818cb1e986caefd1eab6eea709e76