fix some false-positive compiler warnings
This commit is contained in:
parent
46709de8ab
commit
4aea1285c9
@ -3210,6 +3210,7 @@ Session::new_route_from_template (uint32_t how_many, XMLNode& node, const std::s
|
||||
case NewPlaylist:
|
||||
rename_playlist = true;
|
||||
break;
|
||||
default:
|
||||
case CopyPlaylist:
|
||||
case SharePlaylist:
|
||||
rename_playlist = false;
|
||||
|
@ -389,7 +389,7 @@ Session::send_full_time_code (framepos_t const t, MIDI::pframes_t nframes)
|
||||
outbound_mtc_timecode_frame = mtc_tc;
|
||||
transmitting_timecode_time = timecode;
|
||||
|
||||
LatencyRange mtc_out_latency; // TODO cache this, update on engine().GraphReordered()
|
||||
LatencyRange mtc_out_latency = {0, 0}; // TODO cache this, update on engine().GraphReordered()
|
||||
_midi_ports->mtc_output_port ()->get_connected_latency_range (ltc_out_latency, true);
|
||||
frameoffset_t mtc_offset = worst_playback_latency() - mtc_out_latency.max;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user