Closed Bug 850970 Opened 12 years ago Closed 12 years ago

Adding a gain node to the graph without setting its value mutes audio

Categories

(Core :: Web Audio, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(2 files, 2 obsolete files)

That's because we forget to send the gain parameter to the MSG, so the GainNodeEngine's mGain value will be 0, hence the audio will be muted.
Blocks: webaudio
Attached file Testcase (deleted) —
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attached patch Patch (v1) (obsolete) (deleted) — Splinter Review
Attachment #724764 - Flags: review?(roc)
Comment on attachment 724764 [details] [diff] [review] Patch (v1) Review of attachment 724764 [details] [diff] [review]: ----------------------------------------------------------------- Wouldn't it be just as simple and slightly more efficient to default the gain to 1 in a new GainNodeEngine?
Attached patch Patch (v2) (obsolete) (deleted) — Splinter Review
Good idea.
Attachment #724764 - Attachment is obsolete: true
Attachment #724764 - Flags: review?(roc)
Attachment #724867 - Flags: review?(roc)
Attached patch Patch (v3) (deleted) — Splinter Review
In fact, let's just remove the constructor which is going to make future similar bugs possible!
Attachment #724867 - Attachment is obsolete: true
Attachment #724867 - Flags: review?(roc)
Attachment #724871 - Flags: review?(roc)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: