[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #35547] Gnash seeks on an event sound incorrectly
From: |
Nachanon Vetjasit |
Subject: |
[Gnash-commit] [bug #35547] Gnash seeks on an event sound incorrectly |
Date: |
Thu, 16 Feb 2012 14:37:23 +0000 |
User-agent: |
Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.51 |
URL:
<http://savannah.gnu.org/bugs/?35547>
Summary: Gnash seeks on an event sound incorrectly
Project: Gnash - The GNU Flash player
Submitted by: nachanon
Submitted on: Thu 16 Feb 2012 02:37:22 PM GMT
Category: None
Severity: 3 - Normal
Release: 0.8.9
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello, I've used Gnash 0.8.9 and 0.8.10 to play Flash 7 file that tries to
play sound within ActionScript 2.0, using the code:
snd=new Sound(this);
snd.attachSound("beep-note");
trace("sound: starting");
snd.start(1.0,0);
It supposed to play sound from offset '1.0' sec with repeat value '0' (which
Flash Player will treat it like a repeat value '1'; playing the sound once)
Which this sound has three part:
0.000-1.000 sec: the sound of C5 note (low pitch)
1.000-1.300 sec: the sound of C7 note (high pitch)
1.300-2.300 sec: the sound of C6 note (middle pitch)
Specifying offset '1.0' sec was supposed to skip the first part (low pitch)
completely, and playing from the start of second part (high pitch) to the end
(middle pitch).
But on Gnash, you will hear the first part slipped through, which means Gnash
was seeking to about ~0.1 sec earlier than the intended position.
http://www.mediafire.com/download.php?7gcy3zvm7ljo4dc
This is a 'correct' result from Macromedia Flash Player 7
You will notice that sound was high pitch followed by middle pitch, and was
played only once.
http://www.mediafire.com/download.php?f75tcb8hmn8vyvn
This is a video result from Gnash 0.8.10
You will notice that you could hear a bit of low pitch (the first part) sound
on the start.
And sound was looped infinitely, which was a symptom of bug #35545
(zero-repeat issue), with a gap between loop which likely to be a symptom of
bug #24481 (actionscript sound loop gap).
http://www.mediafire.com/download.php?m6it6k36kha5gx5
This is my dummy flash file (created from Flash MX 2004), accompanied with
source code and the sound, also attached here.
Gnash: gnash_0.8.9-1~lenny and gnash_0.8.10-1~lenny from getgnash.org APT
repository (both give exactly same result)
System: Debian GNU/Linux 5.0 Lenny on i386
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 16 Feb 2012 02:37:22 PM GMT Name: soundstart-position.zip Size:
30kB By: nachanon
Dummy test flash file (Flash 7)
<http://savannah.gnu.org/bugs/download.php?file_id=25072>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35547>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [bug #35547] Gnash seeks on an event sound incorrectly,
Nachanon Vetjasit <=