mInput.connectSource(oIn);
mInputs[mInportNumber].connectSource(oIn);
		public void run()		{			try			{				mClient = new MIDIClient(new CAFString("JSynthLib"), null);				if (!mLoadDone)				{					loadDevicesNames();					mLoadDone = true;				}					// device input				mInput = mClient.inputPortCreate(new CAFString(getInputDeviceName(mInportNumber)), new ReadProcImpl());				MIDIEndpoint oIn = MIDISetup.getSource(mInportNumber);				mInput.connectSource(oIn);								// device output				mOutput = mClient.outputPortCreate(new CAFString(getInputDeviceName(mOutportNumber)));				// controller device				MIDIInputPort oController = mClient.inputPortCreate(new CAFString(getInputDeviceName(0)), new ReadProcImpl());				MIDIEndpoint oInContr = MIDISetup.getSource(0);				oController.connectSource(oInContr);												mInitDone = true;//				System.out.println("Init Done");			}			catch(Exception cae)			{				cae.printStackTrace();			}		}