remove unusued capture_transition member (leftover from old Disk processor)
This commit is contained in:
parent
5ed50e6872
commit
9652789e22
|
@ -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;
|
||||
|
|
|
@ -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".
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue