|
PebbleOS
|
#include <board/board.h>#include <pbl/drivers/audio.h>#include <pbl/util/circular_buffer.h>#include <stdbool.h>#include <stdint.h>#include <nrfx_i2s.h>Data Structures | |
| struct | AudioDevice |
| DA7212 audio device. More... | |
Macros | |
| #define | NRF5_AUDIO_I2S_BUF_SAMPLES_MONO 512 |
| Mono samples per I2S buffer. | |
| #define | NRF5_AUDIO_I2S_BUF_COUNT 2 |
| Number of I2S buffers. | |
| #define | NRF5_AUDIO_CIRC_BUF_SIZE_BYTES 4096 |
| Size of the queue between audio_write() and DMA, in bytes (128 ms at 16 kHz). | |
| #define | NRF5_AUDIO_REFILL_THRESHOLD_BYTES 1024 |
| Free queue space, in bytes, at which the driver requests a refill. | |