1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include "feedback.h" 9 10 #warning "No target specific feedback code, overruns/underruns will occur" 11 feedback_init(void)12struct feedback_ctx *feedback_init(void) 13 { 14 return NULL; 15 } 16 feedback_process(struct feedback_ctx * ctx)17void feedback_process(struct feedback_ctx *ctx) 18 { 19 ARG_UNUSED(ctx); 20 } 21 feedback_reset_ctx(struct feedback_ctx * ctx)22void feedback_reset_ctx(struct feedback_ctx *ctx) 23 { 24 ARG_UNUSED(ctx); 25 } 26 feedback_start(struct feedback_ctx * ctx,int i2s_blocks_queued)27void feedback_start(struct feedback_ctx *ctx, int i2s_blocks_queued) 28 { 29 ARG_UNUSED(ctx); 30 ARG_UNUSED(i2s_blocks_queued); 31 } 32 feedback_samples_offset(struct feedback_ctx * ctx)33int feedback_samples_offset(struct feedback_ctx *ctx) 34 { 35 ARG_UNUSED(ctx); 36 37 /* Always send nominal number of samples */ 38 return 0; 39 } 40