#include <stdlib.h>#include <stdio.h>#include <ming.h>#include "ming_utils.h"Defines | |
| #define | OUTPUT_VERSION 6 |
| #define | OUTPUT_FILENAME "eventSoundTest1.swf" |
Functions | |
| void | setupMovie (SWFMovie mo, const char *srcdir) |
| SWFSound | setupSounds (const char *filename) |
| void | runMultipleSoundsTest (SWFMovie mo, SWFSound so, int *frame) |
| void | runNoMultipleSoundsTest (SWFMovie mo, SWFSound so, int *frame) |
| void | runTrimmedSoundsTest (SWFMovie mo, SWFSound so, int *frame) |
| void | runAttachedSoundsTest (SWFMovie mo, SWFSound so, int *frame) |
| void | pauseForNextTest (SWFMovie mo) |
| void | endOfTests (SWFMovie mo) |
| void | printFrameInfo (SWFMovie mo, int i, const char *desc) |
| int | main (int argc, char **argv) |
| #define OUTPUT_FILENAME "eventSoundTest1.swf" |
Referenced by main().
| #define OUTPUT_VERSION 6 |
Referenced by main().
| void endOfTests | ( | SWFMovie | mo | ) |
References add_actions().
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Add as an export so we can attach it.
References add_actions(), endOfTests(), OUTPUT_FILENAME, OUTPUT_VERSION, pauseForNextTest(), runAttachedSoundsTest(), runMultipleSoundsTest(), runNoMultipleSoundsTest(), runTrimmedSoundsTest(), setupMovie(), setupSounds(), and SWFMovie_writeExports().
| void pauseForNextTest | ( | SWFMovie | mo | ) |
References add_actions().
Referenced by main().
| void printFrameInfo | ( | SWFMovie | mo, | |
| int | i, | |||
| const char * | desc | |||
| ) |
References add_actions().
Referenced by runAttachedSoundsTest(), runMultipleSoundsTest(), runNoMultipleSoundsTest(), and runTrimmedSoundsTest().
| void runAttachedSoundsTest | ( | SWFMovie | mo, | |
| SWFSound | so, | |||
| int * | frame | |||
| ) |
Start an embedded sound using a tag to make sure onSoundComplete isn't called for Sound s.
Start the same embedded sound from another Sound object also to make sure the correct object is notified.
References add_actions(), and printFrameInfo().
Referenced by main().
| void runMultipleSoundsTest | ( | SWFMovie | mo, | |
| SWFSound | so, | |||
| int * | frame | |||
| ) |
References add_actions(), and printFrameInfo().
Referenced by main().
| void runNoMultipleSoundsTest | ( | SWFMovie | mo, | |
| SWFSound | so, | |||
| int * | frame | |||
| ) |
References add_actions(), and printFrameInfo().
Referenced by main().
| void runTrimmedSoundsTest | ( | SWFMovie | mo, | |
| SWFSound | so, | |||
| int * | frame | |||
| ) |
References add_actions(), and printFrameInfo().
Referenced by main().
| void setupMovie | ( | SWFMovie | mo, | |
| const char * | srcdir | |||
| ) |
References font, and get_dejagnu_clip().
Referenced by main().
| SWFSound setupSounds | ( | const char * | filename | ) |
Referenced by main().
1.7.1