New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 124890
Owner:
Email to this user bounced
Closed: Feb 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Reassigning .src of MediaElementAudioSourceNode causes audio glitching

Project Member Reported by smus@chromium.org, Nov 24 2012

Issue description

Version: Stable 23.0.1271.64, Unstable
OS: Mac 10.8.2

What steps will reproduce the problem?
1. Create MediaElementAudioSourceNode, wrap it around Audio element
2. Set the .src of the Audio element and play
3. Re-set the .src of the Audio element.

Expected: New sound is piped through the audio graph
Actual: Garbled sound is played.
 
audio-tag-sample.js
816 bytes View Download

Comment 1 by crogers@google.com, Nov 26 2012

Owner: crogers@google.com
Status: Assigned
Cc: dalecur...@chromium.org rtoy@chromium.org
Labels: Feature-Media-Audio OS-All
crogers: what's the expected behaviour when switching media element sources while a WebAudio node is connected to one?

Comment 3 by crogers@google.com, Feb 8 2013

It should work similarly to how <audio> works without WebAudio being involved and the audio should be heard with the new .src

Mergedinto: 124890
Status: Duplicate
Project Member

Comment 5 by bugdroid1@chromium.org, Mar 11 2013

Labels: -Area-WebKit -Feature-Media-Audio Cr-Content Cr-Internals-Media-Audio
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 5 2013

Labels: -Cr-Content Cr-Blink

Comment 7 by Deleted ...@, Jul 28 2015

Hello I want to know if this is okay .
AudioTagSample function ( ) {
// Create a new <audio > tag .
this.audio = new Audio ();

// Note : The audio Dębe Chart reconnect after loading the page .
// Otherwise, the label Audio Solo plays normally and ignores the audio
// Context . More information :  crbug.com/112368 
window.addEventListener ( " load " this.onload.bind (East), false);
}

AudioTagSample.prototype.onload = function () {
// Create audio nodes .
this.source = context.createMediaElementSource ( this.audio ) ;
context.createBiquadFilter this.filter = ( ) ;
this.filter.type = this.filter.LOWPASS ;
this.filter.frequency.value = 500 ;

// Connect the audio graphic .
this.source.connect ( this.filter ) ;
this.filter.connect ( context.destination ) ;
} ;

AudioTagSample.prototype.play = function (url ) {
this.audio.src = " http://streamingraddios.com:9675/ ; ">
this.audio.play ( ) ;
} ;

Sign in to add a comment