Searched refs:outputPort (Results 1 – 1 of 1) sorted by relevance
320 AMidiOutputPort* outputPort = context->midiOutputPort.load(); in readThreadRoutine() local321 if (outputPort != nullptr) { in readThreadRoutine()323 AMidiOutputPort_receive(outputPort, &opCode, in readThreadRoutine()481 AMidiOutputPort* outputPort; in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi() local482 media_status_t status = AMidiOutputPort_open(context->nativeDevice, portNumber, &outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()484 context->midiOutputPort.store(outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()514 AMidiOutputPort* outputPort = context->midiOutputPort.exchange(nullptr); in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi() local515 if (outputPort == nullptr) { in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi()519 AMidiOutputPort_close(outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi()