Expose BaseAudioContext.state

This commit is contained in:
Fernando Jiménez Moreno 2018-06-22 11:15:36 +02:00
parent db52d1f65c
commit 7e04031a95
2 changed files with 8 additions and 1 deletions

View file

@ -21,7 +21,7 @@ interface BaseAudioContext : EventTarget {
readonly attribute float sampleRate;
readonly attribute double currentTime;
// readonly attribute AudioListener listener;
// readonly attribute AudioContextState state;
readonly attribute AudioContextState state;
Promise<void> resume();
attribute EventHandler onstatechange;
// AudioBuffer createBuffer(unsigned long numberOfChannels,