bugzilla-daemon at freedesktop.org
2008-Nov-19 02:35 UTC
[Swfdec] [Bug 18616] New: Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616
Summary: Screeching sound at end of videos
Product: swfdec
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: plugin
AssignedTo: swfdec at lists.freedesktop.org
ReportedBy: macoafi at gmail.com
QAContact: swfdec at lists.freedesktop.org
At the end of, I think all, YouTube videos, a loud screeching, crackling noise
comes out of the speakers. An ALSA dev suggested it had something to do with
it not releasing the device properly.
I'm using swfdec 0.8.2 on 64-bit Ubuntu 8.04 with libasound2 version 1.0.15
and
pulseaudio version 0.9.10.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2008-Nov-19 06:31 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616
Riccardo Magliocchetti <riccardo at datahost.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|plugin |library
--- Comment #1 from Riccardo Magliocchetti <riccardo at datahost.it>
2008-11-18 22:31:51 PST ---
bugzilla-daemon at freedesktop.org
2008-Nov-19 06:51 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616 --- Comment #2 from Mackenzie Morgan <macoafi at gmail.com> 2008-11-18 22:51:49 PST --- No, that doesn't fix it. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2008-Nov-19 21:14 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616
--- Comment #3 from Riccardo Magliocchetti <riccardo at datahost.it>
2008-11-19 13:14:13 PST ---
This was my original patch and should work for you too :)
diff --git a/swfdec-gtk/swfdec_playback_pulse.c
b/swfdec-gtk/swfdec_playback_pulse.c
index 5aa85f0..e867ac8 100644
--- a/swfdec-gtk/swfdec_playback_pulse.c
+++ b/swfdec-gtk/swfdec_playback_pulse.c
@@ -79,6 +79,7 @@ stream_write_callback (pa_stream *pa,
g_printerr ("Failed to allocate fragment of size %d\n",
(int)bytes);
return;
}
+ memset(frag, 0, bytes);
/* Set up our fragment and render swfdec's audio into it. The swfdec
audio
* decoder renders deltas from the existing data in the fragment.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2008-Nov-19 22:11 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616 --- Comment #4 from Mackenzie Morgan <macoafi at gmail.com> 2008-11-19 14:11:11 PST --- Should that be applied to clean sources alone, or should the previous patch and this one be combined? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2008-Nov-20 06:38 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616 --- Comment #5 from Riccardo Magliocchetti <riccardo at datahost.it> 2008-11-19 22:38:04 PST --- (In reply to comment #4)> Should that be applied to clean sources alone, or should the previous patch and > this one be combined?sorry, missed to mention that thisshould be applied to clean sources. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2008-Nov-20 10:19 UTC
[Swfdec] [Bug 18616] Screeching sound at end of videos
http://bugs.freedesktop.org/show_bug.cgi?id=18616 --- Comment #6 from Mackenzie Morgan <macoafi at gmail.com> 2008-11-20 02:19:17 PST --- No, that doesn't get rid of it either. Am I doing something wrong, maybe? I modified swfdec and recompiled it, closed Firefox, and opened it back up, then tested it. Should I be recompiling swfdec-mozilla after each recompile of swfdec as well or something? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.