mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 17:11:17 +02:00
Merge branch 'master' into HEAD
This commit is contained in:
commit
d7bdaf8eaa
@ -408,7 +408,7 @@ table_type sound_to_table(sound_type s)
|
|||||||
|
|
||||||
if (len >= max_table_len) {
|
if (len >= max_table_len) {
|
||||||
char emsg[100];
|
char emsg[100];
|
||||||
sprintf(emsg, "maximum table size (%d) exceeded", max_table_len);
|
sprintf(emsg, "maximum table size (%d) exceeded", max_table_len - 1);
|
||||||
xlcerror("use truncated sound for table", emsg, NIL);
|
xlcerror("use truncated sound for table", emsg, NIL);
|
||||||
} else if (len == 0) {
|
} else if (len == 0) {
|
||||||
xlabort("table size must be greater than 0");
|
xlabort("table size must be greater than 0");
|
||||||
|
@ -241,7 +241,7 @@ typedef double promoted_sample_type;
|
|||||||
*/
|
*/
|
||||||
#define MAX_SND_CHANNELS 24
|
#define MAX_SND_CHANNELS 24
|
||||||
|
|
||||||
#define max_table_len 100000
|
#define max_table_len 1000001
|
||||||
/* Set to 4 for debugging block allocation stuff, 1012? for
|
/* Set to 4 for debugging block allocation stuff, 1012? for
|
||||||
production
|
production
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user