Home
last modified time | relevance | path

Searched refs:mPortSelector (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java43 private MidiOutputPortConnectionSelector mPortSelector; field in MainActivity
94 mPortSelector = new MidiOutputPortConnectionSelector(mMidiManager, this, in setupMidi()
96 mPortSelector.setConnectedListener(new MyPortsConnectedListener()); in setupMidi()
100 if (mPortSelector != null) { in closeSynthResources()
101 mPortSelector.close(); in closeSynthResources()
118 mPortSelector.clearSelection(); in onPortsConnected()