/* * Copyright (c) 2024 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include #include "feedback.h" #warning "No target specific feedback code, overruns/underruns will occur" #define FEEDBACK_K 10 struct feedback_ctx *feedback_init(void) { return NULL; } void feedback_process(struct feedback_ctx *ctx) { ARG_UNUSED(ctx); } void feedback_reset_ctx(struct feedback_ctx *ctx) { ARG_UNUSED(ctx); } void feedback_start(struct feedback_ctx *ctx, int i2s_blocks_queued) { ARG_UNUSED(ctx); ARG_UNUSED(i2s_blocks_queued); } uint32_t feedback_value(struct feedback_ctx *ctx) { /* Always request nominal number of samples */ return SAMPLES_PER_SOF << FEEDBACK_K; }