Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
audio_dmic_args.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_AUDIO_DMIC_ARGS_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_AUDIO_DMIC_ARGS_H_
12
13#include <stdint.h>
14
15#include <zephyr/sys/util.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21enum {
22 /* Log audio metadata (sample rate) */
24 /* Log raw audio samples */
26};
27
30 /* Requested sample rate in Hz */
32 /* Sample gain */
33 int8_t gain_db;
34} __packed;
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_AUDIO_DMIC_ARGS_H_ */
@ TASK_AUDIO_DMIC_LOG_SAMPLES
Definition audio_dmic_args.h:25
@ TASK_AUDIO_DMIC_LOG_METADATA
Definition audio_dmic_args.h:23
AUDIO_DMIC task arguments.
Definition audio_dmic_args.h:29
int8_t gain_db
Definition audio_dmic_args.h:33
uint32_t sample_rate_hz
Definition audio_dmic_args.h:31