diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-03-06 12:47:46 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | c05cfe332868c1aca477aedcecdfb78948e6d559 (patch) | |
tree | 7e758eced492acb32dd40004c41dfb48909afa55 /libs/ardour/audio_diskstream.cc | |
parent | 46366541b1aea2c6441b4273734307ab4c55ce13 (diff) |
merge AudioDiskstream playback code into DiskReader
Diffstat (limited to 'libs/ardour/audio_diskstream.cc')
-rw-r--r-- | libs/ardour/audio_diskstream.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/audio_diskstream.cc b/libs/ardour/audio_diskstream.cc index 3e50b17573..7ef5cf1c11 100644 --- a/libs/ardour/audio_diskstream.cc +++ b/libs/ardour/audio_diskstream.cc @@ -2101,8 +2101,9 @@ AudioDiskstream::set_block_size (pframes_t /*nframes*/) boost::shared_ptr<ChannelList> c = channels.reader(); for (ChannelList::iterator chan = c->begin(); chan != c->end(); ++chan) { - if ((*chan)->speed_buffer) + if ((*chan)->speed_buffer) { delete [] (*chan)->speed_buffer; + } (*chan)->speed_buffer = new Sample[speed_buffer_size]; } } |