Remove dsp_has_midi_*() in favor of dsp_ioconfig()

_has_midi_*put members of LuaProc will be set according to the actual
configuration chosen, for configure_io() and run() to use.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD
2016-08-04 17:47:38 +02:00
parent 82e1ef5fb0
commit 66470b96b7
6 changed files with 17 additions and 50 deletions

View File

@@ -8,11 +8,9 @@ ardour {
}
function dsp_ioconfig ()
return { { audio_in = 0, audio_out = 0}, }
return { { midi_out = 1, audio_in = 0, audio_out = 0}, }
end
function dsp_has_midi_output () return true end
local tme = 0 -- sample-counter
local seq = 1 -- sequence-step
local spb = 0 -- samples per beat