Closed
Bug 1048707
Opened 11 years ago
Closed 11 years ago
AudioParam (gain) on GainNode(AudioNode) returning wrong value
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 893020
People
(Reporter: ottoln, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446
Steps to reproduce:
On experimenting with Web Audio, I found a bug
Actual results:
var g = context.createGain();
///WHILST PLAYING
console.log(g.gain.value); /// returns 1 as expected
g.gain.setValueAtTime(1, context.currentTime);
g.gain.exponentialRampToValueAtTime(0.01, context.currentTime + 1); /// change level starting now, and finish change after one second.
setTimeout(function() {
console.log(g.gain.value); /// returns 1 still !!!
}, 2000);
Expected results:
the gain.value should be returning 0.01, as Chrome implementation does!
Updated•11 years ago
|
Component: Untriaged → Web Audio
Product: Firefox → Core
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•