module Sound.ALSA.Sequencer.Port.Info
( T
, get
, getAny
, queryFirst
, queryNext
, queryLoop_
, queryLoop
, set
, copy
, clone
, getPort
, getClient
, getAddr
, getName
, getCapability
, getMidiChannels
, getMidiVoices
, getSynthVoices
, getPortSpecified
, getTimestamping
, getTimestampReal
, getTimestampQueue
, getReadUse
, getWriteUse
, setPort
, setClient
, setAddr
, setName
, setCapability
, setMidiChannels
, setSynthVoices
, setMidiVoices
, setPortSpecified
, setTimestamping
, setTimestampReal
, setTimestampQueue
) where
import Sound.ALSA.Sequencer.Marshal.PortInfo
import qualified Sound.ALSA.Sequencer.Marshal.Client as Client
import qualified Sound.ALSA.Sequencer.Marshal.Sequencer as Seq
import qualified Sound.ALSA.Sequencer.Query as Query
queryLoop_ :: Seq.T mode -> Client.T -> (T -> IO ()) -> IO ()
queryLoop_ h c = Query.loop_ h (flip setClient c)
queryLoop :: Seq.T mode -> Client.T -> (T -> IO a) -> IO [a]
queryLoop h c = Query.loop h (flip setClient c)