13
0

alter default disk chunk sizes

This commit is contained in:
Paul Davis 2015-01-24 19:05:05 -05:00
parent 5ff6402dad
commit 3068e55e51

View File

@ -777,12 +777,20 @@ Diskstream::default_disk_read_chunk_frames()
#elif defined __APPLE__
return (4 * 1048576) / sizeof (Sample);
#else
return 65536;
/* Linux, etc. */
return (2 * 1048576) / sizeof (Sample);
#endif
}
framecnt_t
Diskstream::default_disk_write_chunk_frames ()
{
#ifdef PLATFORM_WINDOWS
return (2 * 1048576);
#elif defined __APPLE__
return (4 * 1048576);
#else
/* Linux, etc. */
return 65536;
#endif
}