megaopus commit: (1) add __STD_(LIMIT|FORMAT)_MACROS to command line flags for cc and c++ builds, remove them from source (2) add new Property::midi_data used by MidiRegion to signal that its (MIDI) contents have changed (3) massive switch from nframes_t to framepos_t/framecnt_t including removal of ARDOUR::max_frames (replaced by ARDOUR::max_frame{pos,cnt} (lots more to do but this set was driven by changes to the Diskstream API to use framepos_t

git-svn-id: svn://localhost/ardour2/branches/3.0@7791 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-09-17 16:24:22 +00:00
parent e84c3fe555
commit 10bdce85a0
63 changed files with 384 additions and 347 deletions

View file

@ -1493,7 +1493,7 @@ AudioClock::timecode_frame_from_display () const
}
Timecode::Time timecode;
nframes_t sample;
framepos_t sample;
timecode.hours = atoi (hours_label.get_text());
timecode.minutes = atoi (minutes_label.get_text());
@ -1516,12 +1516,12 @@ AudioClock::timecode_frame_from_display () const
// Testcode for timecode<->sample conversions (P.S.)
Timecode::Time timecode1;
nframes_t sample1;
nframes_t oldsample = 0;
framepos_t sample1;
framepos_t oldsample = 0;
Timecode::Time timecode2;
nframes_t sample_increment;
framecnt_t sample_increment;
sample_increment = (long)rint(_session->frame_rate() / _session->timecode_frames_per_second);
sample_increment = (framecnt_t)rint(_session->frame_rate() / _session->timecode_frames_per_second);
#ifdef Timecode_SAMPLE_TEST_1
// Test 1: use_offset = false, use_subframes = false