Mercurial > hg > dmlib
comparison src/dmtimeline.c @ 1993:7190f4fbc0dd
Silence some unused function argument warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Jul 2018 23:07:33 +0300 |
parents | 28fe5b0925dc |
children | 9807ae37ad69 |
comparison
equal
deleted
inserted
replaced
1992:924a1188f697 | 1993:7190f4fbc0dd |
---|---|
363 /* Prepare a loaded timeline for execution. Creates the "stacked" structure | 363 /* Prepare a loaded timeline for execution. Creates the "stacked" structure |
364 * of timeline data for efficient rendering. | 364 * of timeline data for efficient rendering. |
365 */ | 365 */ |
366 int dmAddSplitPreparedEventGroup(DMPreparedEventGroup **groups, DMTimelineTrack *track, DMTimelineEvent *event) | 366 int dmAddSplitPreparedEventGroup(DMPreparedEventGroup **groups, DMTimelineTrack *track, DMTimelineEvent *event) |
367 { | 367 { |
368 (void) groups; | |
369 (void) track; | |
370 (void) event; | |
371 | |
372 /* | |
368 DMPreparedEventGroup *node; | 373 DMPreparedEventGroup *node; |
369 | |
370 for (node = *groups; node != NULL; node = node->next) | 374 for (node = *groups; node != NULL; node = node->next) |
371 { | 375 { |
372 } | 376 } |
377 */ | |
373 | 378 |
374 return DMERR_OK; | 379 return DMERR_OK; |
375 } | 380 } |
376 | 381 |
377 | 382 |
416 * only handles monotonously increasing time, going backwards will not work | 421 * only handles monotonously increasing time, going backwards will not work |
417 * there correctly, thus to seek freely this function must be used. | 422 * there correctly, thus to seek freely this function must be used. |
418 */ | 423 */ |
419 int dmSeekTimeline(DMPreparedTimeline *tl, int time) | 424 int dmSeekTimeline(DMPreparedTimeline *tl, int time) |
420 { | 425 { |
426 (void) tl; | |
427 (void) time; | |
428 | |
421 return DMERR_OK; | 429 return DMERR_OK; |
422 } | 430 } |
423 | 431 |
424 | 432 |
425 /* "Executes", or rather renders a frame on the specified timeline position. | 433 /* "Executes", or rather renders a frame on the specified timeline position. |
426 */ | 434 */ |
427 int dmExecuteTimeline(DMPreparedTimeline *tl, DMEngineData *engine, int time) | 435 int dmExecuteTimeline(DMPreparedTimeline *tl, DMEngineData *engine, int time) |
428 { | 436 { |
429 return DMERR_OK; | 437 (void) tl; |
430 } | 438 (void) engine; |
439 (void) time; | |
440 | |
441 return DMERR_OK; | |
442 } |