Sorry, this does not work. I just tried PmDefaults, and powering on or off 1 or 
2 MIDI devices has no effect:
Clicking the "Refresh Device List" button doesn't change the list of devices.

Mac OSX 10.7, PmDefaults 1.0


> PmDefaults does this. You might check if PmDefaults can find the device 
> when you plug it in, and if so, you can read the source to see exactly 
> what it's doing and how that differs from your code.
> -Roger
> 
> On 3/8/14 12:06 AM, Gilles Barges wrote:
>>> .. and, by the way, is a call to "Pm_Terminate" then "Pm_Initialize" 
>>> the right way to refresh the list of available devices in PortMidi ?
>>> 
>> 
>> this doesn't seem to work.
>> 
>> I have a portmidi based app and an USB MIDI synth.
>> Very often I forget to power on the synth before launching the app.
>> And so, I have to quit the app and start it again after powering the 
>> synth.

--
Gilles Barges.



_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to