Searched refs:portState (Results 1 – 1 of 1) sorted by relevance
276 int portState = MIDI_PORT_STATE_OPEN_IDLE; in AMIDI_closePort() local277 while (!port->state.compare_exchange_weak(portState, MIDI_PORT_STATE_CLOSED)) { in AMIDI_closePort()278 if (portState == MIDI_PORT_STATE_CLOSED) { in AMIDI_closePort()314 int portState = MIDI_PORT_STATE_OPEN_IDLE; in receive() local316 if (!mPort->state.compare_exchange_strong(portState, MIDI_PORT_STATE_OPEN_ACTIVE)) { in receive()