Commit 37abee01 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch...

Merge branch '2122_ref_delay_alignment_split_rendering_and_external_rend_crashes_omasa' into proposal_for_md_delay_refactoring
parents 058a7643 06429358
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1381,8 +1381,8 @@ typedef struct


typedef struct
typedef struct
{
{
    float *data; /* samples in interleaved layout */
    float *data;       /* samples in interleaved layout, e.g. for channels A, B, C, samples are stored: A1, B1, C1, A2, B2, C2, ... */
    uint32_t capacity;
    uint32_t capacity; /* max number of float values that can be stored */
    uint16_t num_channels;
    uint16_t num_channels;
    uint32_t write_pos;
    uint32_t write_pos;
    uint32_t read_pos;
    uint32_t read_pos;
+6 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,12 @@
 * Local function prototypes
 * Local function prototypes
 *-----------------------------------------------------------------------*/
 *-----------------------------------------------------------------------*/


/*---------------------------------------------------------------------*
 * ivas_td_ringbuf_total_size()
 *
 * Returns total number of buffered samples (including number of channels)
 *---------------------------------------------------------------------*/

static uint32_t ivas_td_ringbuf_total_size(
static uint32_t ivas_td_ringbuf_total_size(
    TD_RINGBUF_HANDLE h )
    TD_RINGBUF_HANDLE h )
{
{