|
@@ -101,22 +101,24 @@ extern "C" {
|
101
|
101
|
extern cmTlH_t cmTimeLineNullHandle;
|
102
|
102
|
|
103
|
103
|
//
|
104
|
|
- cmTlRC_t cmTimeLineInitialize( cmCtx_t* ctx, cmTlH_t* hp, cmTlCb_t cbFunc, void* cbArg );
|
105
|
|
- cmTlRC_t cmTimeLineInitializeFromFile( cmCtx_t* ctx, cmTlH_t* hp, cmTlCb_t cbFunc, void* cbArg, const cmChar_t* fn );
|
|
104
|
+ cmTlRC_t cmTimeLineInitialize( cmCtx_t* ctx, cmTlH_t* hp, cmTlCb_t cbFunc, void* cbArg );
|
|
105
|
+ cmTlRC_t cmTimeLineInitializeFromFile( cmCtx_t* ctx, cmTlH_t* hp, cmTlCb_t cbFunc, void* cbArg, const cmChar_t* fn );
|
106
|
106
|
|
107
|
|
- cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp );
|
|
107
|
+ const cmChar_t* cmTimeLineFileName( cmTlH_t h );
|
108
|
108
|
|
109
|
|
- bool cmTimeLineIsValid( cmTlH_t h );
|
110
|
|
- double cmTimeLineSampleRate( cmTlH_t h );
|
|
109
|
+ cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp );
|
|
110
|
+
|
|
111
|
+ bool cmTimeLineIsValid( cmTlH_t h );
|
|
112
|
+ double cmTimeLineSampleRate( cmTlH_t h );
|
111
|
113
|
|
112
|
114
|
// Return the object following 'p' assigned to 'seqId'.
|
113
|
115
|
// If 'p' is NULL then return the first object assigned to seqId.
|
114
|
116
|
// If 'seqId' is set to cmInvalidId then return the next object on any seq.
|
115
|
117
|
// If no objects follow 'p' on the specified sequence then return NULL.
|
116
|
|
- cmTlObj_t* cmTimeLineNextObj( cmTlH_t h, cmTlObj_t* p, unsigned seqId );
|
|
118
|
+ cmTlObj_t* cmTimeLineNextObj( cmTlH_t h, cmTlObj_t* p, unsigned seqId );
|
117
|
119
|
|
118
|
120
|
// Same as cmTimeLineNextObj() but returns next object whose type matches 'typeId'.
|
119
|
|
- cmTlObj_t* cmTimeLineNextTypeObj( cmTlH_t h, cmTlObj_t* p, unsigned seqId, unsigned typeId );
|
|
121
|
+ cmTlObj_t* cmTimeLineNextTypeObj( cmTlH_t h, cmTlObj_t* p, unsigned seqId, unsigned typeId );
|
120
|
122
|
|
121
|
123
|
cmTlMidiFile_t* cmTlNextMidiFileObjPtr( cmTlH_t h, cmTlObj_t* op, unsigned seqId );
|
122
|
124
|
cmTlAudioFile_t* cmTlNextAudioFileObjPtr( cmTlH_t h, cmTlObj_t* op, unsigned seqId );
|