Home
last modified time | relevance | path

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

/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DRecorderActivity.java32 private int mRecorderState = AUDIO_STATE_STOPPED; field in RecorderActivity
52 mRecorderState = AUDIO_STATE_STOPPED; in onCreate()
65 mRecorderState = STATE_RECORDING; in onStartRecording()
76 mRecorderState = AUDIO_STATE_STOPPED; in onStopRecordPlay()
82 mRecorderState = STATE_PLAYING; in onStartPlayback()
87 mRecordButton.setEnabled(mRecorderState == AUDIO_STATE_STOPPED); in updateButtons()
88 mStopButton.setEnabled(mRecorderState != AUDIO_STATE_STOPPED); in updateButtons()
89 mPlayButton.setEnabled(mRecorderState == AUDIO_STATE_STOPPED && mGotRecording); in updateButtons()
90 mShareButton.setEnabled(mRecorderState == AUDIO_STATE_STOPPED && mGotRecording); in updateButtons()