1,079
edits
Line 189: | Line 189: | ||
''Technical Contact'': [[User:Fingolfin|Max Horn]] | ''Technical Contact'': [[User:Fingolfin|Max Horn]] | ||
''Background:'' | |||
Right now, the MIDI drivers are treated by ScummVM in a rather single minded fashion: Either a driver is linked in and hence "available", or not. It's not possible to configure anything about them (like ports to be used etc.), nor does it ever take into account that a single driver might correspond to multiple devices (after all, you can plug several sequenecers into your MIDI port; or you could have configured several different sound font settings in your MIDI emulator). | Right now, the MIDI drivers are treated by ScummVM in a rather single minded fashion: Either a driver is linked in and hence "available", or not. It's not possible to configure anything about them (like ports to be used etc.), nor does it ever take into account that a single driver might correspond to multiple devices (after all, you can plug several sequenecers into your MIDI port; or you could have configured several different sound font settings in your MIDI emulator). | ||
''The Task:'' | |||
* Add an API for querying the OSystem backend for a list of available MIDI devices (not drivers) | * Add an API for querying the OSystem backend for a list of available MIDI devices (not drivers) | ||
* Information about the selected device must be serializable, so that it can be stored in the config file | * Information about the selected device must be serializable, so that it can be stored in the config file |
edits