Closed Bug 454364 Opened 16 years ago Closed 15 years ago

<Audio> Playing ogg files cuts off the last second or so

Categories

(Core :: Audio/Video, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: moloth, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2) Gecko/20080829082037 Shiretoko/3.1a2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2) Gecko/20080829082037 Shiretoko/3.1a2

Playing a 1.8 second Ogg file only plays the first .9 seconds. 
Code:
<audio src="http://192.168.0.3/barcode/sounds/chord6.ogg" autoplay="true"></audio>
File:
http://rapidshare.com/files/143806698/chord6.ogg.html

Reproducible: Always

Steps to Reproduce:
1.Download Ogg File: http://rapidshare.com/files/143806698/chord6.ogg.html
2. Enter Code: <audio src="http://192.168.0.3/barcode/sounds/chord6.ogg" autoplay="true"></audio>
Actual Results:  
The windows sound will play but not the beeps and the white noise.

Expected Results:  
Played it all.
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
Version: unspecified → Trunk
I hear indeed no beep and white noise.
Attached audio Chord6 Ogg File
Attached the demo chord6 ogg file
I have a fix for this but it relies on the refactoring done in bug 449159. I'll upload and patch, etc when that bug is completed.

There were two issues. The first was the playback was marked as completed when the decoding was complete, resulting in decoded frames that had not yet been ready for display/playing being discarded.

The second is when playback completes the audio stream is closed, even though there may be audio left to play in the audio buffer.
Depends on: 449159
This looks to have been fixed by the landing of bug 449159. Can someone confirm?
It's still getting cut off. Using FF 3.1b1
bug 449159 landed after FF 3.1b1. It should be fixed in nightly builds.
I see this under Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20081213 Minefield/3.2a1pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Attachment #337803 - Attachment mime type: application/octet-stream → audio/ogg
works for me - Plays the same in a media player and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090317 Shiretoko/3.5b4pre
I think this is fixed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: