mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
alter default disk chunk sizes
This commit is contained in:
parent
5ff6402dad
commit
3068e55e51
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue