playbackState
Summary
The playback state, initialized to UNSCHEDULED_STATE, progressing through SCHEDULED_STATE, PLAYING_STATE, and FINISHED_STATE.
Not in spec; deletion candidate. See http://webaudio.github.io/web-audio-api/.
Property of apis/webaudio/OscillatorNodeapis/webaudio/OscillatorNode
Syntax
Note: This property is read-only.
var result = OscillatorNode.playbackState;
Return Value
Returns an object of type unsigned shortunsigned short
Returns one of the following constant values: UNSCHEDULED_STATE (0), SCHEDULED_STATE (1), PLAYING_STATE (2), or FINISHED_STATE (3).
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft