This is the skeleton of the code that will run on core1 to perform the audio decoding and output. In this initial commit, the module infrastructure, starting code on core1, and the I2S audio driver with DMA are implemented. Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
11 lines
221 B
C
11 lines
221 B
C
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2024 Matthias Blankertz <matthias@blankertz.org>
|
|
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool i2s_init(int out_pin, int sideset_base, int samplerate);
|
|
|
|
void i2s_deinit(void);
|