5#include "libs/maxiClock.h"
8void play(maxi_float_t *channels);
9void play1(maxi_float_t *channels);
10void play2(maxi_float_t *channels);
54 maxi_float_t out[
cfg.channels];
56 int16_t *p_samples = (int16_t *)
buffer.data();
57 for (uint16_t j=0;j<samples;j+=
cfg.channels){
60 for (
int ch=0;ch<
cfg.channels;ch++){
61 p_samples[j+ch] =
volume() * out[ch] * 32767.0f;
66 LOGI(
"bytes written %u", result)
#define DEFAULT_BUFFER_SIZE
void play1(maxi_float_t *channels)
void play2(maxi_float_t *channels)
void play(maxi_float_t *channels)