search for: swfdec_audio_rend

Displaying 14 results from an estimated 14 matches for "swfdec_audio_rend".

Did you mean: swfdec_audio_render
2009 Dec 14
2
[Bug 25634] New: [swfdec 0.9.2] Segmentation Fault, assertion 'SWFDEC_IS_AUDIO' failed
...gar The player have some problem, and when Fire Sonic runs with the camera behind him i have this message before interruption of the swfdec-player : weegee at zarok:~$ swfdec-player Super_Mario_bros_Z__episod8.swf PA stream drain failed: ?tat incorrect (swfdec-player:3048): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (swfdec-player:3048): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (swfdec-player:3048): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (swfdec-player:3048): Swfd...
2007 Dec 11
9
[Bug 13604] New: Assertion failure when seeking on youtube with pulseaudio backend.
http://bugs.freedesktop.org/show_bug.cgi?id=13604 Summary: Assertion failure when seeking on youtube with pulseaudio backend. Product: swfdec Version: unspecified Platform: x86-64 (AMD64) URL: http://www.youtube.com OS/Version: Linux (All) Status: NEW Severity: normal Priority:
2008 May 08
7
[Bug 15862] New: Segfault when seeking on youtube with pulseaudio backend
...ry AssignedTo: swfdec at lists.freedesktop.org ReportedBy: ed at catmur.co.uk QAContact: swfdec at lists.freedesktop.org This is a continuation to bug 13604. swfdec still crashes when seeking youtube videos while playing. For example: (gecko:12419): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (gecko:12419): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (gecko:12419): Swfdec-CRITICAL **: swfdec_audio_render: assertion `SWFDEC_IS_AUDIO (audio)' failed (gecko:12419): Swfdec-CRITICAL **: swfde...
2007 Mar 16
0
5 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c
...;xi:include href="xml/SwfdecAudio.xml"/> <xi:include href="xml/SwfdecBuffer.xml"/> diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 4a45ff4..e0bb55f 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -4,6 +4,7 @@ SwfdecAudio swfdec_audio_render <SUBSECTION Standard> +SwfdecAudioClass SWFDEC_AUDIO SWFDEC_IS_AUDIO SWFDEC_TYPE_AUDIO @@ -20,8 +21,11 @@ SwfdecLoader swfdec_loader_new_from_file swfdec_loader_push swfdec_loader_eof +swfdec_loader_error swfdec_loader_get_filename +swfdec_loader_get_data_type <SUBSECTION Standa...
2007 Jul 16
0
configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_playback_oss.c
...if (ret == -1) { + g_printerr ("Failed to get output buffer availability\n"); + free(frag); + return FALSE; + } + g_assert(spaceinfo.fragsize == stream->fragsize); + + if (spaceinfo.fragments == 0) + break; + + memset (frag, 0, stream->fragsize); + swfdec_audio_render (stream->audio, (gint16 *)frag, stream->offset, + stream->fragsize / SAMPLESIZE / CHANNELS); + + ret = write (stream->dsp_fd, frag, stream->fragsize); + if (ret != stream->fragsize) { + g_printerr ("Failed to write fragment\n"); + free(frag); +...
2007 Nov 10
6
[Bug 13167] New: crash firefox if you close tab while playing flash files
http://bugs.freedesktop.org/show_bug.cgi?id=13167 Summary: crash firefox if you close tab while playing flash files Product: swfdec Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: library AssignedTo: swfdec at lists.freedesktop.org
2007 Jan 29
0
3 commits - autogen.sh configure.ac player/.gitignore player/Makefile.am player/swfdec_playback_alsa.c player/swfdec_playback.c player/swfdec_playback_none.c
...il) -{ - /* FIXME: do a long path if this doesn't hold */ - g_assert (dst[1].first - dst[0].first == 16); - g_assert (dst[0].addr == dst[1].addr); - g_assert (dst[0].step == dst[1].step); - g_assert (dst[0].step == 32); - - memset (dst[0].addr + offset * dst[0].step / 8, 0, avail * 4); - swfdec_audio_render (stream->audio, dst[0].addr + offset * dst[0].step / 8, - stream->offset, avail); - //g_print ("rendering %u %u\n", stream->offset, (guint) avail); - return avail; -} - -static gboolean -try_write (Stream *stream) -{ - snd_pcm_sframes_t avail_result; - snd_pcm_uframes...
2007 Nov 08
0
configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_playback_pa.c
...== NULL) { + g_printerr ("Failed to allocate fragment of size %d\n", bytes); + return; + } + + /* Set up our fragment and render swfdec's audio into it. The swfdec audio + * decoder renders deltas from the existing data in the fragment. + */ + memset (frag, 0, bytes); + swfdec_audio_render (stream->audio, (gint16 *)frag, stream->offset, + samples); + + /* Send the new fragment out the PA stream */ + err = pa_stream_write (pa, frag, bytes, NULL, 0, PA_SEEK_RELATIVE); + if (err != 0) { + g_printerr ("Failed to write fragment to PA stream: %s\n", + pa_st...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...ass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * SwfdecAudio::new-data: + * @audio: the #SwfdecAudio affected + * + * This signal is emitted whenever new data was loaded into @audio. You want + * to listen to this signal when swfdec_audio_render() previously returned + * less samples than you wanted to render. + */ + signals[NEW_DATA] = g_signal_new ("new-data", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); object_class->dispose = swfdec_...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...1 100644 --- a/libswfdec-gtk/swfdec_playback_alsa.c +++ b/libswfdec-gtk/swfdec_playback_alsa.c @@ -82,8 +82,8 @@ write_player (Stream *stream, const snd_ g_assert (dst[0].step == dst[1].step); g_assert (dst[0].step == 32); - memset (dst[0].addr + offset * dst[0].step / 8, 0, avail * 4); - swfdec_audio_render (stream->audio, dst[0].addr + offset * dst[0].step / 8, + memset ((guint8 *) dst[0].addr + offset * dst[0].step / 8, 0, avail * 4); + swfdec_audio_render (stream->audio, (gint16 *) ((guint8 *) dst[0].addr + offset * dst[0].step / 8), stream->offset, avail); //g_print (&quot...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...il) -{ - /* FIXME: do a long path if this doesn't hold */ - g_assert (dst[1].first - dst[0].first == 16); - g_assert (dst[0].addr == dst[1].addr); - g_assert (dst[0].step == dst[1].step); - g_assert (dst[0].step == 32); - - memset (dst[0].addr + offset * dst[0].step / 8, 0, avail * 4); - swfdec_audio_render (stream->audio, dst[0].addr + offset * dst[0].step / 8, - stream->offset, avail); - //g_print ("rendering %u %u\n", stream->offset, (guint) avail); - return avail; -} - -static gboolean -try_write (Stream *stream) -{ - snd_pcm_sframes_t avail_result; - snd_pcm_uframes...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...- return FALSE; - } - audio = swfdec_audio_stream_new (NULL, sprite, i); - i = 4096; - queue = swfdec_buffer_queue_new (); - while (i > 0) { - buffer = swfdec_buffer_new (); - buffer->data = g_malloc0 (i * 4); - buffer->length = i * 4; -#if 0 - if (i > 1234) { - swfdec_audio_render (audio, (gint16 *) buffer->data, 0, 1234); - swfdec_audio_render (audio, (gint16 *) buffer->data + 2468, 1234, i - 1234); - } else -#endif - { - swfdec_audio_render (audio, (gint16 *) (void *) buffer->data, 0, i); - } - i = swfdec_audio_iterate (audio, i); - i =...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...il) +{ + /* FIXME: do a long path if this doesn't hold */ + g_assert (dst[1].first - dst[0].first == 16); + g_assert (dst[0].addr == dst[1].addr); + g_assert (dst[0].step == dst[1].step); + g_assert (dst[0].step == 32); + + memset (dst[0].addr + offset * dst[0].step / 8, 0, avail * 4); + swfdec_audio_render (stream->audio, dst[0].addr + offset * dst[0].step / 8, + stream->offset, avail); + //g_print ("rendering %u %u\n", stream->offset, (guint) avail); + return avail; +} + +static gboolean +try_write (Stream *stream) +{ + snd_pcm_sframes_t avail_result; + snd_pcm_uframes...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...st, g_return_if_fail (n_samples > 0); SWFDEC_LOG ("rendering offset %u, samples %u", start_offset, n_samples); - for (walk = player->audio; walk; walk = walk->next) { + for (walk = player->priv->audio; walk; walk = walk->next) { audio = walk->data; swfdec_audio_render (audio, dest, start_offset, n_samples); } diff --git a/libswfdec/swfdec_audio_event.c b/libswfdec/swfdec_audio_event.c index 4f7ee5c..fc05dcd 100644 --- a/libswfdec/swfdec_audio_event.c +++ b/libswfdec/swfdec_audio_event.c @@ -271,7 +271,7 @@ swfdec_audio_event_get (SwfdecPlayer *player, Swfde...