Remove unused variables
This commit is contained in:
parent
35394f427c
commit
f61eb7e067
@ -186,8 +186,6 @@ protected:
|
||||
/* The MIDI stuff */
|
||||
|
||||
MidiRingBuffer<samplepos_t>* _midi_buf;
|
||||
gint _samples_written_to_ringbuffer;
|
||||
gint _samples_read_from_ringbuffer;
|
||||
|
||||
static void get_location_times (const Location* location, samplepos_t* start, samplepos_t* end, samplepos_t* length);
|
||||
};
|
||||
|
@ -58,8 +58,6 @@ DiskIOProcessor::DiskIOProcessor (Session& s, Track& t, string const & str, Flag
|
||||
, _track (t)
|
||||
, channels (new ChannelList)
|
||||
, _midi_buf (0)
|
||||
, _samples_written_to_ringbuffer (0)
|
||||
, _samples_read_from_ringbuffer (0)
|
||||
{
|
||||
set_display_to_user (false);
|
||||
}
|
||||
|
@ -865,7 +865,7 @@ DiskWriter::configuration_changed ()
|
||||
}
|
||||
|
||||
int
|
||||
DiskWriter::seek (samplepos_t sample, bool /*complete_refill*/)
|
||||
DiskWriter::seek (samplepos_t /*sample*/, bool /*complete_refill*/)
|
||||
{
|
||||
uint32_t n;
|
||||
ChannelList::iterator chan;
|
||||
@ -878,10 +878,7 @@ DiskWriter::seek (samplepos_t sample, bool /*complete_refill*/)
|
||||
if (_midi_buf) {
|
||||
_midi_buf->reset ();
|
||||
}
|
||||
g_atomic_int_set(&_samples_read_from_ringbuffer, 0);
|
||||
g_atomic_int_set(&_samples_written_to_ringbuffer, 0);
|
||||
|
||||
playback_sample = sample;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user