remove unusued capture_transition member (leftover from old Disk processor)

This commit is contained in:
Paul Davis 2023-01-28 16:59:36 -07:00
parent 5ed50e6872
commit 9652789e22
3 changed files with 0 additions and 7 deletions

View File

@ -163,7 +163,6 @@ protected:
/* used only by capture */
boost::shared_ptr<AudioFileSource> write_source;
PBD::RingBufferNPT<CaptureTransition>* capture_transition_buf;
/* used in the butler thread only */
samplecnt_t curr_capture_cnt;

View File

@ -325,7 +325,6 @@ DiskIOProcessor::use_playlist (DataType dt, boost::shared_ptr<Playlist> playlist
DiskIOProcessor::ChannelInfo::ChannelInfo (samplecnt_t bufsize)
: rbuf (0)
, wbuf (0)
, capture_transition_buf (0)
, curr_capture_cnt (0)
{
}
@ -334,10 +333,8 @@ DiskIOProcessor::ChannelInfo::~ChannelInfo ()
{
delete rbuf;
delete wbuf;
delete capture_transition_buf;
rbuf = 0;
wbuf = 0;
capture_transition_buf = 0;
}
/** Get the start, end, and length of a location "atomically".

View File

@ -96,9 +96,6 @@ DiskWriter::display_name () const
void
DiskWriter::WriterChannelInfo::resize (samplecnt_t bufsize)
{
if (!capture_transition_buf) {
capture_transition_buf = new RingBufferNPT<CaptureTransition> (256);
}
delete wbuf;
wbuf = new RingBufferNPT<Sample> (bufsize);
/* touch memory to lock it */