[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:
GZharun 2015-01-26 13:02:14 +02:00
parent a7c5223ef1
commit f76ae60204

View file

@ -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;
}