mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
fix nasty crash when using double-nested compound (consolidated) regions caused by not (re)allocating enough mixdown buffers; fix up various warnings from valgrind about mismatching operator delete[] by using shared_array<T> rather than shared_ptr<T>, as should have been the case all along
This commit is contained in:
parent
027f0e156a
commit
d99b5dfa37
5 changed files with 21 additions and 13 deletions
|
|
@ -127,8 +127,8 @@ AudioPlaylistSource::set_state (const XMLNode& node, int version, bool with_desc
|
|||
framecnt_t
|
||||
AudioPlaylistSource::read_unlocked (Sample* dst, framepos_t start, framecnt_t cnt) const
|
||||
{
|
||||
boost::shared_ptr<Sample> sbuf;
|
||||
boost::shared_ptr<gain_t> gbuf;
|
||||
boost::shared_array<Sample> sbuf;
|
||||
boost::shared_array<gain_t> gbuf;
|
||||
framecnt_t to_read;
|
||||
framecnt_t to_zero;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue