Skip to content

Commit

Permalink
AudioWorkletGlobalScope should be an abstract class.
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-ali committed Dec 29, 2023
1 parent 824092d commit e637830
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import scala.scalajs.js.annotation._
* variables and perform any actions allowed in worklets — apart from defining AudioWorkletProcessor derived classes.
*/
@js.native
trait AudioWorkletGlobalScope extends WorkletGlobalScope {
@JSGlobal
abstract class AudioWorkletGlobalScope extends WorkletGlobalScope {

/** Returns an integer that represents the ever-increasing current sample-frame of the audio block being processed. It
* is incremented by 128 (the size of a render quantum) after the processing of each audio block.
Expand Down

0 comments on commit e637830

Please sign in to comment.