search for: sound_stream

Displaying 9 results from an estimated 9 matches for "sound_stream".

Did you mean: send_stream
2007 Jul 03
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_math.c libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/trace
...e not recreating it in any case diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index 3e741ea..5a110a9 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -542,6 +542,7 @@ new_decoder: if (movie->sound_stream) { swfdec_audio_remove (movie->sound_stream); g_object_unref (movie->sound_stream); + movie->sound_stream = NULL; } if (current->sound_block) { diff-tree a031f4b7e379e364e82101dd02924cc1b1137b56 (from 90c2424294478b3d5d004e7066fa6db20ae65f22) Author: Benjamin Otte &...
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...wfdec_sprite_movie_iterate_end (SwfdecM GSList *walk; SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (mov)->context); - g_assert (mov->frame < mov->n_frames); if (!SWFDEC_MOVIE_CLASS (swfdec_sprite_movie_parent_class)->iterate_end (mov)) { g_assert (movie->sound_stream == NULL); return FALSE; @@ -502,10 +499,11 @@ swfdec_sprite_movie_iterate_end (SwfdecM if (movie->sprite == NULL) return TRUE; - current = &movie->sprite->frames[mov->frame]; + g_assert (movie->frame <= movie->n_frames); + current = &movie->sprite...
2007 Sep 05
0
libswfdec/swfdec_sprite_movie.c
...iff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index 6152535..8658bd3 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -618,7 +618,7 @@ new_decoder: if (current->sound_block) { movie->sound_stream = swfdec_audio_stream_new (player, - movie->sprite, movie->frame); + movie->sprite, movie->frame - 1); movie->sound_frame = movie->frame; } return TRUE;
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...wfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (mov)->context); - g_assert (movie->current_frame < mov->n_frames); + g_assert (mov->frame < mov->n_frames); if (!SWFDEC_MOVIE_CLASS (swfdec_sprite_movie_parent_class)->iterate_end (mov)) { g_assert (movie->sound_stream == NULL); return FALSE; @@ -267,10 +490,10 @@ swfdec_sprite_movie_iterate_end (SwfdecM if (movie->sprite == NULL) return TRUE; - current = &movie->sprite->frames[movie->current_frame]; + current = &movie->sprite->frames[mov->frame]; /* first st...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...ething to decode diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index a114315..81ad295 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -293,9 +293,11 @@ new_decoder: g_object_unref (movie->sound_stream); } - movie->sound_stream = swfdec_audio_stream_new (player, - movie->sprite, movie->current_frame); - movie->sound_frame = movie->current_frame; + if (current->sound_block) { + movie->sound_stream = swfdec_audio_stream_new (player, + movie->sprite, movie-&...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...e (SwfdecMovie *mov) { SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov); - SwfdecPlayer *player = SWFDEC_ROOT_MOVIE (mov->root)->player; + SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (mov)->context); swfdec_player_remove_all_actions (player, mov); if (movie->sound_stream) { diff --git a/libswfdec/swfdec_sprite_movie_as.c b/libswfdec/swfdec_sprite_movie_as.c index 0049ec6..fa48596 100644 --- a/libswfdec/swfdec_sprite_movie_as.c +++ b/libswfdec/swfdec_sprite_movie_as.c @@ -201,6 +201,7 @@ static void swfdec_sprite_movie_startDrag (Swf...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
.../* color information */ SwfdecColor bg_color; /* background color (only used on main sprite) */ /* audio stream handling */ - unsigned int sound_frame; /* current sound frame */ + guint sound_frame; /* current sound frame */ SwfdecAudio * sound_stream; /* stream that currently plays */ }; diff --git a/libswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c index 3954b36..97f6965 100644 --- a/libswfdec/swfdec_swf_decoder.c +++ b/libswfdec/swfdec_swf_decoder.c @@ -72,7 +72,7 @@ swfdec_decoder_dis...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...te_movie_iterate_end (SwfdecM GSList *walk; SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (mov)->context); + g_assert (movie->current_frame < mov->n_frames); if (!SWFDEC_MOVIE_CLASS (swfdec_sprite_movie_parent_class)->iterate_end (mov)) { g_assert (movie->sound_stream == NULL); return FALSE; @@ -318,9 +321,25 @@ static void swfdec_sprite_movie_init_movie (SwfdecMovie *mov) { SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov); + SwfdecAsContext *context; + SwfdecAsObject *constructor; + const char *name; - mov->n_frames = movie->sprite-&gt...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
.../* color information */ SwfdecColor bg_color; /* background color (only used on main sprite) */ /* audio stream handling */ - unsigned int sound_frame; /* current sound frame */ + guint sound_frame; /* current sound frame */ SwfdecAudio * sound_stream; /* stream that currently plays */ }; diff --git a/libswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c index 3954b36..97f6965 100644 --- a/libswfdec/swfdec_swf_decoder.c +++ b/libswfdec/swfdec_swf_decoder.c @@ -72,7 +72,7 @@ swfdec_decoder_dis...