Sha256: bba3e46cce71bdd0ea6a5e1d32b611aad095f287b9f926bff5673baa5c3fb734
Contents?: true
Size: 669 Bytes
Versions: 2
Compression:
Stored size: 669 Bytes
Contents
module Browser; class Event class AudioProcessing < Event def self.supported? Browser.supports? 'Event.AudioProcessing' end class Definition < Definition def time=(value) `#@native.playbackTime = #{value}` end def input=(value) `#@native.inputBuffer = #{value}` end def output=(value) `#@native.outputBuffer = #{value}` end end if Browser.supports? 'Event.constructor' def self.construct(name, desc) `new AudioProcessingEvent(#{name}, #{desc})` end end if supported? alias_native :time, :playbackTime alias_native :input, :inputBuffer alias_native :output, :outputBuffer end end; end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
diamonds-0.1.5 | lib/diamonds/opal/browser/event/audio_processing.rb |
opal-browser-0.2.0 | opal/browser/event/audio_processing.rb |