Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
startSoundCard :: AppContext -> ProcessIO () #
newSoundCard :: WinID -> STM SoundCard #
getSoundCard :: MonadUnliftIO m => AppContext -> m SoundCard #
data SoundCardEvent #
addSoundClient :: SoundCard -> DisplayClient -> STM () #
delSoundClient :: SoundCard -> DisplayClient -> STM () #
soundCardInfoHtml :: SoundCard -> HtmlT STM () #
soundChannelHtml :: SoundCard -> SoundChannel -> HtmlT STM () #
soundReceiverHtml :: SoundReceiver -> HtmlT STM () #
data SoundChannel #
newtype SoundChannelName #
Instances
newtype SoundChannelID #
Instances
ToJSON SoundChannelID # | |
Defined in Butler.Service.SoundBlaster toJSON :: SoundChannelID -> Value # toEncoding :: SoundChannelID -> Encoding # toJSONList :: [SoundChannelID] -> Value # toEncodingList :: [SoundChannelID] -> Encoding # | |
Show SoundChannelID # | |
Defined in Butler.Service.SoundBlaster showsPrec :: Int -> SoundChannelID -> ShowS # show :: SoundChannelID -> String # showList :: [SoundChannelID] -> ShowS # | |
From WinID SoundChannelID # | |
Defined in Butler.Service.SoundBlaster from :: WinID -> SoundChannelID # | |
From SoundChannelID WinID # | |
Defined in Butler.Service.SoundBlaster from :: SoundChannelID -> WinID # | |
From SoundChannelID Natural # | |
Defined in Butler.Service.SoundBlaster from :: SoundChannelID -> Natural # |
data SoundClientStatus #
clientStatusHtml :: SoundClientStatus -> HtmlT STM () #
newSoundChannel :: WinID -> SoundChannelName -> Natural -> STM SoundChannel #
delSoundChannelClient :: SoundChannel -> DisplayClient -> STM () #
setSoundChannelClient :: SoundChannel -> SoundClientStatus -> DisplayClient -> STM () #
startSoundChannelClient :: SoundCard -> SoundChannel -> Bool -> DisplayClient -> STM () #
startSoundChannelKeep :: (DisplayClient -> Bool) -> SoundCard -> WinID -> SoundChannelName -> STM SoundChannel #
startSoundChannel :: SoundCard -> WinID -> SoundChannelName -> STM SoundChannel #
stopSoundChannel :: SoundCard -> SoundChannel -> STM () #
mkControlMessage :: SoundCard -> Text -> [Pair] -> LByteString #
lookupSoundChannel :: SoundCard -> SoundChannelID -> STM (Maybe SoundChannel) #
feedChannel :: SoundCard -> SoundChannel -> ByteString -> Maybe StreamFrame -> STM () #
pauseChannel :: SoundCard -> SoundChannel -> STM () #
data SoundReceiver #
delSoundReceiver :: SoundCard -> DisplayClient -> STM () #
getSoundReceiver :: SoundCard -> DisplayClient -> STM SoundReceiver #
soundReceiverHandler :: SoundCard -> DisplayClient -> ByteString -> ProcessIO () #
startClientRecorder :: SoundCard -> WinID -> DisplayClient -> STM () #
stopSoundReceiver :: SoundCard -> WinID -> DisplayClient -> STM () #
soundHandler :: SoundCard -> DisplayClient -> ByteString -> ProcessIO () #
soundClient :: WinID -> Text #