RPR GetMaxMidiOutputs
From CockosWiki
Line 1: | Line 1: | ||
- | |||
{{API_Doc_Header}} | {{API_Doc_Header}} | ||
=GetMaxMidiIn|Outputs()= | =GetMaxMidiIn|Outputs()= | ||
- | '''int GetMaxMidiOutputs()''' | + | '''int GetMaxMidiOutputs()'''<br> |
- | '''int GetMaxMidiInputs()''' | + | '''int GetMaxMidiInputs()'''<br> |
note: device indices don't directly map to Windows, instead they go through a caching layer. | note: device indices don't directly map to Windows, instead they go through a caching layer. | ||
- | returns max | + | returns max "dev" for midi inputs/outputs |
==Parameters== | ==Parameters== | ||
==Returns== | ==Returns== | ||
Line 14: | Line 13: | ||
==Examples== | ==Examples== | ||
===C++=== | ===C++=== | ||
- | + | <source lang=cpp> | |
- | + | </source> | |
===Perl=== | ===Perl=== | ||
- | + | <source lang=perl> | |
- | + | </source> | |
===Python=== | ===Python=== | ||
- | + | <source lang=python> | |
- | + | </source> | |
==See Also== | ==See Also== |
Latest revision as of 23:47, 24 November 2010
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetMaxMidiOutputs
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetMaxMidiOutputs
Contents |
GetMaxMidiIn|Outputs()
int GetMaxMidiOutputs()
int GetMaxMidiInputs()
note: device indices don't directly map to Windows, instead they go through a caching layer.
returns max "dev" for midi inputs/outputs
Parameters
Returns
integer - maximum device number for midi input or outputs
Examples
C++
Perl
Python
See Also
midi: GetTrackMIDINoteName, GetTrackMIDINoteNameEx, HasTrackMIDIPrograms, HasTrackMIDIProgramsEx, CreateMIDIInput, kbd_OnMidiEvent, CreateMIDIOutput, GetMaxMidiInputs, kbd_OnMidiList, GetMaxMidiOutputs, SetTrackMIDINoteName, SetTrackMIDINoteNameEx, MIDI_eventlist_Create, GetMidiInput, MIDI_eventlist_Destroy, GetMIDIInputName, MIDIEditor_GetActive, GetMidiOutput, MIDIEditor_GetMode, GetMIDIOutputName, MIDIEditor_OnCommand, GetNumMIDIInputs, GetNumMIDIOutputs, PCM_Sink_CreateMIDIFile, PCM_Sink_CreateMIDIFileEx, EnumTrackMIDIProgramNames, EnumTrackMIDIProgramNamesEx, State Chunk and RPP MIDI Format
(Section automatically generated, edits may be overwritten.)
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetMaxMidiOutputs
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetMaxMidiOutputs