NO-OP: clang-format, whitespace

This commit is contained in:
Robin Gareus 2023-05-22 21:04:37 +02:00
parent ed7683d029
commit d85277f532
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -186,7 +186,6 @@ DiskReader::set_state (const XMLNode& node, int version)
void void
DiskReader::realtime_handle_transport_stopped () DiskReader::realtime_handle_transport_stopped ()
{ {
if (_session.exporting () && !_session.realtime_export ()) { if (_session.exporting () && !_session.realtime_export ()) {
_declick_amp.set_gain (0); _declick_amp.set_gain (0);
} }
@ -558,7 +557,6 @@ DiskReader::set_pending_overwrite (OverwriteReason why)
/* called from audio thread, so we can use the read ptr and playback sample as we wish */ /* called from audio thread, so we can use the read ptr and playback sample as we wish */
if (!c->empty ()) { if (!c->empty ()) {
if (c->size () > 1) { if (c->size () > 1) {
/* Align newly added buffers. /* Align newly added buffers.
* *
@ -717,7 +715,6 @@ DiskReader::overwrite_existing_audio ()
samplepos_t start; samplepos_t start;
for (auto const& chan : *c) { for (auto const& chan : *c) {
Sample* buf = chan->rbuf->buffer (); Sample* buf = chan->rbuf->buffer ();
ReaderChannelInfo* rci = dynamic_cast<ReaderChannelInfo*> (chan); ReaderChannelInfo* rci = dynamic_cast<ReaderChannelInfo*> (chan);
@ -733,7 +730,6 @@ DiskReader::overwrite_existing_audio ()
ret = false; ret = false;
continue; continue;
} }
} }
if (chunk2_cnt) { if (chunk2_cnt) {
@ -997,7 +993,6 @@ DiskReader::audio_read (Sample* sum_buffer,
/* XXX we don't currently play loops in reverse. not sure why */ /* XXX we don't currently play loops in reverse. not sure why */
if (!reversed) { if (!reversed) {
/* Make the use of a Location atomic for this read operation. /* Make the use of a Location atomic for this read operation.
Note: Locations don't get deleted, so all we care about Note: Locations don't get deleted, so all we care about
@ -1015,7 +1010,6 @@ DiskReader::audio_read (Sample* sum_buffer,
} }
} else { } else {
start -= cnt; start -= cnt;
start = max (samplepos_t (0), start); start = max (samplepos_t (0), start);
} }