| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Sound.RtMidi.Report
Description
Utility code to gather MIDI system information.
Synopsis
- data ApiReport = ApiReport {
- apiRepApi :: !Api
- apiRepName :: !String
- apiRepDisplayName :: !String
- apiInPorts :: ![(Int, String)]
- apiOutPorts :: ![(Int, String)]
- data Report = Report {
- defaultInApi :: !Api
- defaultOutApi :: !Api
- apiReports :: ![ApiReport]
- buildApiReport :: Api -> IO ApiReport
- buildCustomReport :: Bool -> IO Report
- buildReport :: IO Report
Documentation
MIDI system information specific to a particular API.
Constructors
| ApiReport | |
Fields
| |
Instances
| Generic ApiReport Source # | |
| Show ApiReport Source # | |
| NFData ApiReport Source # | |
Defined in Sound.RtMidi.Report | |
| Eq ApiReport Source # | |
| type Rep ApiReport Source # | |
Defined in Sound.RtMidi.Report type Rep ApiReport = D1 ('MetaData "ApiReport" "Sound.RtMidi.Report" "RtMidi-0.8.0.0-FDDwGzNsMQHA5gKeRo3gjA" 'False) (C1 ('MetaCons "ApiReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiRepApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: S1 ('MetaSel ('Just "apiRepName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :*: (S1 ('MetaSel ('Just "apiRepDisplayName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String) :*: (S1 ('MetaSel ('Just "apiInPorts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Int, String)]) :*: S1 ('MetaSel ('Just "apiOutPorts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Int, String)]))))) | |
MIDI system information for any number of APIs.
Constructors
| Report | |
Fields
| |
Instances
| Generic Report Source # | |
| Show Report Source # | |
| NFData Report Source # | |
Defined in Sound.RtMidi.Report | |
| Eq Report Source # | |
| type Rep Report Source # | |
Defined in Sound.RtMidi.Report type Rep Report = D1 ('MetaData "Report" "Sound.RtMidi.Report" "RtMidi-0.8.0.0-FDDwGzNsMQHA5gKeRo3gjA" 'False) (C1 ('MetaCons "Report" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultInApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: (S1 ('MetaSel ('Just "defaultOutApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: S1 ('MetaSel ('Just "apiReports") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ApiReport])))) | |
buildApiReport :: Api -> IO ApiReport Source #
Gather information about the given Api, including port information.
Variant of buildReport that allows you to restrict it to the default APIs.
buildReport :: IO Report Source #
Gather information about all compiled APIs.