mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-16 08:27:01 +03:00
fixed point resampling option
This commit is contained in:
@@ -132,6 +132,10 @@
|
||||
#undef RESAMPLE
|
||||
#define RESAMPLE 1 // resampling
|
||||
#define PROCESS 1 // any sample processing (only resampling at present)
|
||||
#elif defined(RESAMPLE16)
|
||||
#undef RESAMPLE16
|
||||
#define RESAMPLE16 1
|
||||
#define PROCESS 1
|
||||
#else
|
||||
#define RESAMPLE 0
|
||||
#define PROCESS 0
|
||||
@@ -647,7 +651,7 @@ unsigned process_newstream(bool *direct, unsigned raw_sample_rate, unsigned supp
|
||||
void process_init(char *opt);
|
||||
#endif
|
||||
|
||||
#if RESAMPLE
|
||||
#if RESAMPLE || RESAMPLE16
|
||||
// resample.c
|
||||
void resample_samples(struct processstate *process);
|
||||
bool resample_drain(struct processstate *process);
|
||||
|
||||
Reference in New Issue
Block a user