ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
esphome::microphone::AudioCapture Struct Reference

#include <microphone.h>

Data Fields

std::span< const uint8_t > data
 Only valid during the callback.
 
audio::AudioStreamInfo stream_info
 Format of data.
 
int64_t capture_time_us {0}
 esp_timer_get_time() of the first frame, or 0 if unknown
 

Detailed Description

Definition at line 23 of file microphone.h.

Field Documentation

◆ capture_time_us

int64_t esphome::microphone::AudioCapture::capture_time_us {0}

esp_timer_get_time() of the first frame, or 0 if unknown

Definition at line 29 of file microphone.h.

◆ data

std::span<const uint8_t> esphome::microphone::AudioCapture::data

Only valid during the callback.

Definition at line 25 of file microphone.h.

◆ stream_info

audio::AudioStreamInfo esphome::microphone::AudioCapture::stream_info

Format of data.

Definition at line 27 of file microphone.h.


The documentation for this struct was generated from the following file: