FastLED 3.10.6
Loading...
Searching...
No Matches

◆ MP3D_SYNTH_CHAIN

#define MP3D_SYNTH_CHAIN ( st)
Value:
{ \
int g; \
for (g = 0; g < 4; g += 2) \
{ \
mp3d_sample_t *d = dstl + g*16*nch; \
int64_t a0, b0, a1 = 0, b1 = 0; \
S0(0, st) S2(1, st) S1(2, st) S2(3, st) \
S1(4, st) S2(5, st) S1(6, st) S2(7, st) \
if (st == 1) \
{ \
d[(15 - i)*nch + 1] = mp3d_scale_pcm(a1); \
d[(17 + i)*nch + 1] = mp3d_scale_pcm(b1); \
} \
d[(15 - i)*nch] = mp3d_scale_pcm(a0); \
d[(17 + i)*nch] = mp3d_scale_pcm(b0); \
} \
}
int16_t mp3d_sample_t
Definition minimp3.h:227
#define S1(k, st)
#define S2(k, st)
MP3D_LEAF mp3d_sample_t mp3d_scale_pcm(int64_t sample) FL_NO_EXCEPT

Referenced by mp3d_synth().