Searched refs:recordState (Results 1 – 1 of 1) sorted by relevance
236 status_t setRecordState(SLuint32 recordState) { in setRecordState() argument241 if (recordState == SL_RECORDSTATE_RECORDING) { in setRecordState()244 SLresult res = (*mRecord)->SetRecordState(mRecord, recordState); in setRecordState()246 ALOGW("setRecordState %d error %s", recordState, android::getSLErrStr(res)); in setRecordState()249 mRecordState = recordState; in setRecordState()258 SLuint32 recordState; in getRecordState() local259 SLresult res = (*mRecord)->GetRecordState(mRecord, &recordState); in getRecordState()264 return recordState; in getRecordState()