New issue
Advanced search Search tips

Issue 678773 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

OfflineAudioContext.suspend() error messages are confusing

Project Member Reported by rtoy@chromium.org, Jan 5 2017

Issue description

Consider this bit of code:

c = new OfflineAudioContext(1,44100,44100)
c.startRendering().then(function () {
  c.suspend(1);
});

This produces the error message:

cannot schedule a suspend at frame 44032 (1 seconds) because it is earlier than the current frame of 44160 (1.00136 seconds)

Since the context is only 1 sec long (44100 frames), this message is a bit confusing because the user can never see that the current frame ever goes past 44100.
 
Owner: hongchan@chromium.org
Status: Started (was: Available)
Status: Verified (was: Started)
Closed by https://codereview.chromium.org/2666703002/

Sign in to add a comment