Home
last modified time | relevance | path

Searched refs:src_pos (Results 1 – 2 of 2) sorted by relevance

/btstack/src/
H A Dbtstack_resample.c47 context->src_pos = 0; in btstack_resample_init()
66 while (context->src_pos >= 0xffff0000){ in btstack_resample_block()
67 const uint16_t t = context->src_pos & 0xffffu; in btstack_resample_block()
76 context->src_pos += context->src_step; in btstack_resample_block()
80 const uint16_t src_pos = context->src_pos >> 16; in btstack_resample_block() local
81 const uint16_t t = context->src_pos & 0xffffu; in btstack_resample_block()
82 int index = src_pos * context->num_channels; in btstack_resample_block()
84 if (src_pos >= (num_frames - 1u)){ in btstack_resample_block()
91 context->src_pos -= num_frames << 16; in btstack_resample_block()
102 context->src_pos += context->src_step; in btstack_resample_block()
H A Dbtstack_resample.h57 uint32_t src_pos; member