use PROGRAM_NAME to define fixed MIDI port names in ardour_system.rc
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8707 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5a44773016
commit
69ec13c9c0
|
@ -1035,6 +1035,9 @@ else:
|
|||
print "It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries."
|
||||
sys.exit (1)
|
||||
|
||||
pname = env['PROGRAM_NAME']
|
||||
subst_dict['%MIDI_DEVICE_NAME%'] = pname.lower()
|
||||
|
||||
env = conf.Finish()
|
||||
|
||||
if env['GTKOSX']:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Ardour>
|
||||
<MIDI-port tag="%MIDITAG%" device="ardour" type="%MIDITYPE%" mode="duplex"/>
|
||||
<MIDI-port tag="control" device="ardour" type="%MIDITYPE%" mode="duplex"/>
|
||||
<MIDI-port tag="mcu" device="ardour" type="%MIDITYPE%" mode="duplex"/>
|
||||
<MIDI-port tag="%MIDITAG%" device="%MIDI_DEVICE_NAME%" type="%MIDITYPE%" mode="duplex"/>
|
||||
<MIDI-port tag="control" device="%MIDI_DEVICE_NAME%" type="%MIDITYPE%" mode="duplex"/>
|
||||
<MIDI-port tag="mcu" device="%MIDI_DEVICE_NAME%" type="%MIDITYPE%" mode="duplex"/>
|
||||
<Config>
|
||||
<Option name="minimum-disk-io-bytes" value="262144"/>
|
||||
<Option name="track-buffer-seconds" value="5.000000"/>
|
||||
|
|
Loading…
Reference in New Issue