Closed Bug 1075505 Opened 10 years ago Closed 10 years ago

Web Audio Api GainNode.value does not update during linearRampToValueAtTime

Categories

(Core :: Web Audio, defect)

32 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 893020

People

(Reporter: ekberg.emil, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36

Steps to reproduce:

1. Setup an audio source with a gain node using Web Audio API.
2. Fade to wanted value using this code: 
	var now = context.currentTime;
	this.volume.gain.linearRampToValueAtTime(this.volume.gain.value, now);
	this.volume.gain.linearRampToValueAtTime(fGain, now+fTime);



Actual results:

this.volume.gain.value does not update during the fade, it's always stuck at 1. 
It works when fading down, but not up.


Expected results:

this.volume.gain.value should update to the current value as the ramp is fading. 
this is how it works in chrome and safari, My guess is that this should be the implementation.
Component: Untriaged → Web Audio
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.