timecode: make subframes unsigned int
git-svn-id: svn://localhost/ardour2/branches/3.0@13268 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f66d3f9b13
commit
e4e4b67ad4
@ -609,7 +609,7 @@ timecode_to_sample(
|
|||||||
bool use_offset, bool use_subframes,
|
bool use_offset, bool use_subframes,
|
||||||
/* Note - framerate info is taken from Timecode::Time& */
|
/* Note - framerate info is taken from Timecode::Time& */
|
||||||
double sample_frame_rate /**< may include pull up/down */,
|
double sample_frame_rate /**< may include pull up/down */,
|
||||||
int32_t subframes_per_frame,
|
uint32_t subframes_per_frame,
|
||||||
/* optional offset - can be improved: function pointer to lazily query this*/
|
/* optional offset - can be improved: function pointer to lazily query this*/
|
||||||
bool offset_is_negative, int64_t offset_samples
|
bool offset_is_negative, int64_t offset_samples
|
||||||
)
|
)
|
||||||
@ -711,7 +711,7 @@ sample_to_timecode (
|
|||||||
double timecode_frames_per_second,
|
double timecode_frames_per_second,
|
||||||
bool timecode_drop_frames,
|
bool timecode_drop_frames,
|
||||||
double sample_frame_rate/**< can include pull up/down */,
|
double sample_frame_rate/**< can include pull up/down */,
|
||||||
int32_t subframes_per_frame,
|
uint32_t subframes_per_frame,
|
||||||
/* optional offset - can be improved: function pointer to lazily query this*/
|
/* optional offset - can be improved: function pointer to lazily query this*/
|
||||||
bool offset_is_negative, int64_t offset_samples
|
bool offset_is_negative, int64_t offset_samples
|
||||||
)
|
)
|
||||||
|
@ -116,7 +116,7 @@ timecode_to_sample(
|
|||||||
bool use_offset, bool use_subframes,
|
bool use_offset, bool use_subframes,
|
||||||
/* Note - framerate info is taken from Timecode::Time& */
|
/* Note - framerate info is taken from Timecode::Time& */
|
||||||
double sample_frame_rate /**< may include pull up/down */,
|
double sample_frame_rate /**< may include pull up/down */,
|
||||||
int32_t subframes_per_frame /**< must not be 0 if use_subframes==true */,
|
uint32_t subframes_per_frame /**< must not be 0 if use_subframes==true */,
|
||||||
/* optional offset - can be improved: function pointer to lazily query this*/
|
/* optional offset - can be improved: function pointer to lazily query this*/
|
||||||
bool offset_is_negative, int64_t offset_samples
|
bool offset_is_negative, int64_t offset_samples
|
||||||
);
|
);
|
||||||
@ -128,7 +128,7 @@ void sample_to_timecode (
|
|||||||
double timecode_frames_per_second,
|
double timecode_frames_per_second,
|
||||||
bool timecode_drop_frames,
|
bool timecode_drop_frames,
|
||||||
double sample_frame_rate/**< can include pull up/down */,
|
double sample_frame_rate/**< can include pull up/down */,
|
||||||
int32_t subframes_per_frame,
|
uint32_t subframes_per_frame,
|
||||||
/* optional offset - can be improved: function pointer to lazily query this*/
|
/* optional offset - can be improved: function pointer to lazily query this*/
|
||||||
bool offset_is_negative, int64_t offset_samples
|
bool offset_is_negative, int64_t offset_samples
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user