ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
capture_time.h File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::i2s_audio
 

Functions

int64_t esphome::i2s_audio::dma_capture_time_us (uint32_t bytes_received, uint32_t drops, uint32_t drops_before_read, int64_t receive_time_us, uint32_t bytes_read_before, uint32_t bytes_read, uint32_t dma_desc_num, uint32_t dma_buffer_bytes, const audio::AudioStreamInfo &stream_info)
 Returns when the first frame of a read was captured, counted back from the newest DMA buffer, or 0 when the time is unknown.