Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- start :: MonadDOM m => AudioBufferSourceNode -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
- stop :: MonadDOM m => AudioBufferSourceNode -> Maybe Double -> m ()
- pattern UNSCHEDULED_STATE :: forall a. (Eq a, Num a) => a
- pattern SCHEDULED_STATE :: forall a. (Eq a, Num a) => a
- pattern PLAYING_STATE :: forall a. (Eq a, Num a) => a
- pattern FINISHED_STATE :: forall a. (Eq a, Num a) => a
- setBuffer :: MonadDOM m => AudioBufferSourceNode -> Maybe AudioBuffer -> m ()
- getBuffer :: MonadDOM m => AudioBufferSourceNode -> m (Maybe AudioBuffer)
- getBufferUnsafe :: (MonadDOM m, HasCallStack) => AudioBufferSourceNode -> m AudioBuffer
- getBufferUnchecked :: MonadDOM m => AudioBufferSourceNode -> m AudioBuffer
- getPlaybackState :: MonadDOM m => AudioBufferSourceNode -> m Word
- getGain :: MonadDOM m => AudioBufferSourceNode -> m AudioParam
- getPlaybackRate :: MonadDOM m => AudioBufferSourceNode -> m AudioParam
- setLoop :: MonadDOM m => AudioBufferSourceNode -> Bool -> m ()
- getLoop :: MonadDOM m => AudioBufferSourceNode -> m Bool
- setLoopStart :: MonadDOM m => AudioBufferSourceNode -> Double -> m ()
- getLoopStart :: MonadDOM m => AudioBufferSourceNode -> m Double
- setLoopEnd :: MonadDOM m => AudioBufferSourceNode -> Double -> m ()
- getLoopEnd :: MonadDOM m => AudioBufferSourceNode -> m Double
- ended :: EventName AudioBufferSourceNode Event
- newtype AudioBufferSourceNode = AudioBufferSourceNode {}
- gTypeAudioBufferSourceNode :: JSM GType
Documentation
start :: MonadDOM m => AudioBufferSourceNode -> Maybe Double -> Maybe Double -> Maybe Double -> m () Source #
pattern UNSCHEDULED_STATE :: forall a. (Eq a, Num a) => a Source #
pattern SCHEDULED_STATE :: forall a. (Eq a, Num a) => a Source #
pattern PLAYING_STATE :: forall a. (Eq a, Num a) => a Source #
pattern FINISHED_STATE :: forall a. (Eq a, Num a) => a Source #
setBuffer :: MonadDOM m => AudioBufferSourceNode -> Maybe AudioBuffer -> m () Source #
getBuffer :: MonadDOM m => AudioBufferSourceNode -> m (Maybe AudioBuffer) Source #
getBufferUnsafe :: (MonadDOM m, HasCallStack) => AudioBufferSourceNode -> m AudioBuffer Source #
getBufferUnchecked :: MonadDOM m => AudioBufferSourceNode -> m AudioBuffer Source #
getPlaybackState :: MonadDOM m => AudioBufferSourceNode -> m Word Source #
getGain :: MonadDOM m => AudioBufferSourceNode -> m AudioParam Source #
getPlaybackRate :: MonadDOM m => AudioBufferSourceNode -> m AudioParam Source #
setLoopStart :: MonadDOM m => AudioBufferSourceNode -> Double -> m () Source #
getLoopStart :: MonadDOM m => AudioBufferSourceNode -> m Double Source #
setLoopEnd :: MonadDOM m => AudioBufferSourceNode -> Double -> m () Source #
getLoopEnd :: MonadDOM m => AudioBufferSourceNode -> m Double Source #
newtype AudioBufferSourceNode Source #
Functions for this inteface are in JSDOM.AudioBufferSourceNode. Base interface functions are in:
Instances
PToJSVal AudioBufferSourceNode Source # | |
Defined in JSDOM.Types pToJSVal :: AudioBufferSourceNode -> JSVal # | |
PFromJSVal AudioBufferSourceNode Source # | |
Defined in JSDOM.Types | |
ToJSVal AudioBufferSourceNode Source # | |
Defined in JSDOM.Types toJSVal :: AudioBufferSourceNode -> JSM JSVal # toJSValListOf :: [AudioBufferSourceNode] -> JSM JSVal # | |
FromJSVal AudioBufferSourceNode Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe AudioBufferSourceNode) # fromJSValUnchecked :: JSVal -> JSM AudioBufferSourceNode # fromJSValListOf :: JSVal -> JSM (Maybe [AudioBufferSourceNode]) # fromJSValUncheckedListOf :: JSVal -> JSM [AudioBufferSourceNode] # | |
MakeObject AudioBufferSourceNode Source # | |
Defined in JSDOM.Types | |
IsEventTarget AudioBufferSourceNode Source # | |
Defined in JSDOM.Types | |
IsAudioNode AudioBufferSourceNode Source # | |
Defined in JSDOM.Types | |
IsGObject AudioBufferSourceNode Source # | |
Defined in JSDOM.Types |