- add eclipse project configuration

- use espressif ADF, remove external opus rep
  o uses audio pipelines now
- change code to use flac decoder
- remove mersus code
- add first try of audio synchronization
  o needed to sync timeofday to server on reception of server settings to avoid overflows in timeval calculations (int32_t on esp32 SDK)
  o still a lot of TODO's in the code, but it's almost in sync, although there is quite some chunk skipping which I am currently working on
This commit is contained in:
Carlos
2020-12-13 22:19:40 +01:00
Unverified
parent abcb00b616
commit 1e1893bb49
46 changed files with 1174 additions and 4115 deletions

View File

@@ -1,36 +0,0 @@
#ifndef _DSP_PROCESSOR_H_
#define _DSP_PROCESSOR_H_
enum dspFlows {dspfStereo, dspfBiamp, dspf2DOT1, dspfFunkyHonda };
size_t write_ringbuf(const uint8_t *data, size_t size);
void dsp_i2s_task_init(uint32_t sample_rate,bool slave);
void dsp_i2s_task_deinit(void);
enum filtertypes { LPF, HPF, BPF, BPF0DB, NOTCH,
ALLPASS360, ALLPASS180, PEAKINGEQ,
LOWSHELF, HIGHSHELF};
// Process node
typedef struct ptype {
int filtertype;
float freq;
float gain;
float q;
float *in,*out;
float coeffs[5];
float w[2];
} ptype_t;
// Process flow
typedef struct pnode {
ptype_t process;
struct pnode *next;
} pnode_t;
void dsp_setup_flow(double freq,uint32_t samplerate);
void dsp_set_xoverfreq(uint8_t, uint8_t, uint32_t );
#endif /* _DSP_PROCESSOR_H_ */