Displaying 1 result from an estimated 1 matches for "swfsoundinst".
2007 Oct 29
0
2 commits - libswfdec/swfdec_audio_event.c test/sound
...@
+/* gcc `pkg-config --libs --cflags libming` crash-0.5.3-no-samples.c -o crash-0.5.3-no-samples && ./crash-0.5.3-no-samples
+ */
+
+#include <ming.h>
+
+static void
+do_movie ()
+{
+ char name[100];
+ SWFMovie movie;
+ FILE *file;
+ SWFMovieClip movie_clip;
+ SWFSound sound;
+ SWFSoundInstance instance;
+
+ movie = newSWFMovieWithVersion (8);
+ movie = newSWFMovie();
+ SWFMovie_setRate (movie, 10);
+ SWFMovie_setDimension (movie, 200, 150);
+
+ movie_clip = newSWFMovieClip ();
+
+ file = fopen ("/dev/null", "r");
+ sound = newSWFSound (file, SWF_SOUND_NOT_C...