mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
[Summary] HOT FIX to the issue provoked by this commit: f8996e50c6
[Details] New read chunks exceed ring buffers capacity. When there is an attempt to playback we get error message.
This commit is contained in:
parent
a7c5223ef1
commit
f76ae60204
1 changed files with 6 additions and 2 deletions
|
|
@ -803,17 +803,21 @@ Diskstream::set_own_replication_path (const std::string& path)
|
|||
framecnt_t
|
||||
Diskstream::default_disk_read_chunk_frames()
|
||||
{
|
||||
/*
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
return (2 * 1048576) / sizeof (Sample);
|
||||
#elif defined __APPLE__
|
||||
return (4 * 1048576) / sizeof (Sample);
|
||||
#else
|
||||
return 65536;
|
||||
#endif
|
||||
#endif*/
|
||||
//GZ to Paul Davis FIX-ME restored old value which used to work with current ring buffer capacity
|
||||
return 262144;
|
||||
}
|
||||
|
||||
framecnt_t
|
||||
Diskstream::default_disk_write_chunk_frames ()
|
||||
{
|
||||
return 65536;
|
||||
//GZ to Paul Davis FIX-ME restored old value which used to work with current ring buffer capacity
|
||||
return 262144;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue