mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
Ring buffer implementation
First stab at implementing a ring buffer. Now tuning should be done. The statistics report causes jitters and can be deactivated by lowering the output verbosity.
This commit is contained in:
14
main/perf_trace.c
Normal file
14
main/perf_trace.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "squeezelite.h"
|
||||
#include "perf_trace.h"
|
||||
/*************************************
|
||||
* Some performance analysis bits
|
||||
*/
|
||||
|
||||
//perf_stats * stats[]={
|
||||
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="output", .fmt=BUFFER_TYPE },
|
||||
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="stream", .fmt=BUFFER_TYPE },
|
||||
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="i2sbuffer", .fmt=BUFFER_TYPE },
|
||||
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="i2s_write", .fmt=DURATION_TYPE },
|
||||
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="output_fill", .fmt=DURATION_TYPE }
|
||||
//};
|
||||
|
||||
Reference in New Issue
Block a user