Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp236 status_t setRecordState(SLuint32 recordState) { in setRecordState() argument
241 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() local
259 SLresult res = (*mRecord)->GetRecordState(mRecord, &recordState); in getRecordState()
264 return recordState; in getRecordState()