Searched refs:recordState (Results 1 – 1 of 1) sorted by relevance
214 status_t setRecordState(SLuint32 recordState) { in setRecordState() argument219 if (recordState == SL_RECORDSTATE_RECORDING) { in setRecordState()222 SLresult res = (*mRecord)->SetRecordState(mRecord, recordState); in setRecordState()224 ALOGW("setRecordState %d error %s", recordState, android::getSLErrStr(res)); in setRecordState()227 mRecordState = recordState; in setRecordState()236 SLuint32 recordState; in getRecordState() local237 SLresult res = (*mRecord)->GetRecordState(mRecord, &recordState); in getRecordState()242 return recordState; in getRecordState()