Allow auto-resizing of track list, start off with a mere 4 instead of 100 and double it every time we run out of space
This commit is contained in:
parent
d0374812e4
commit
470e4fc631
3 changed files with 94 additions and 8 deletions
|
@ -162,7 +162,7 @@ static inline void show_stackframe(){}
|
|||
#define SHM_STREAM_TRACK_LEN 4 * SHM_STREAM_TRACK_ITEM
|
||||
|
||||
// Default values, these will scale up and down when needed, and are mainly used as starting values.
|
||||
#define DEFAULT_TRACK_COUNT 100
|
||||
#define DEFAULT_TRACK_COUNT 4
|
||||
#define DEFAULT_FRAGMENT_COUNT 60
|
||||
#define DEFAULT_KEY_COUNT 60
|
||||
#define DEFAULT_PART_COUNT 30 * DEFAULT_KEY_COUNT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue