Search found 1 match

by chitarrastonata
Sat Feb 12, 2022 1:45 pm
Forum: ESP-ADF
Topic: Custom Audio Element Problem
Replies: 6
Views: 12757

Re: Custom Audio Element Problem

Ciao paddlesteamer,
the easiest way to handle a signed value is to use an signed variable!
You are using unsigned, so it became everything complicated.
Try this sample code, it implement a very simple echo:

#define ECHO_LEN (1024*32)
int16_t echoBufR[ECHO_LEN];
int16_t echoBufL[ECHO_LEN];
uint16 ...

Go to advanced search