Home
last modified time | relevance | path

Searched refs:ERR_NOT_STARTED (Results 1 - 21 of 21) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/common/
H A Di_audio_renderer_sink.cpp165 CHECK_AND_RETURN_RET_LOG(audioRendererSink->IsInited(), ERR_NOT_STARTED, in IAudioRendererSinkStart()
177 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "Renderer pause failed"); in IAudioRendererSinkPause()
188 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "Renderer resume failed"); in IAudioRendererSinkResume()
200 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first"); in IAudioRendererSinkRenderFrame()
214 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first\n"); in IAudioRendererSinkSplitRenderFrame()
227 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first"); in IAudioRendererSinkSetVolume()
240 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first"); in IAudioRendererSinkGetVolume()
253 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first"); in IAudioRendererSinkGetLatency()
268 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRenderer Not Inited! Init the renderer first"); in IAudioRendererSinkRegCallback()
282 CHECK_AND_RETURN_RET_LOG(isInited, ERR_NOT_STARTED, "audioRendere in IAudioRendererSinkGetPresentationPosition()
[all...]
/foundation/multimedia/media_foundation/services/media_monitor/common/include/
H A Dmonitor_error.h45 ERR_NOT_STARTED = -9,
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp469 return ERR_NOT_STARTED; in CreateRender()
482 CHECK_AND_RETURN_RET_LOG(InitAudioManager() == 0, ERR_NOT_STARTED, "Init audio manager Fail"); in Init() local
492 CHECK_AND_RETURN_RET_LOG(size <= MAX_AUDIO_ADAPTER_NUM && size != 0 && ret == 0, ERR_NOT_STARTED, in Init()
497 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Fail"); in Init()
501 CHECK_AND_RETURN_RET_LOG(result == 0, ERR_NOT_STARTED, "Load Adapter Fail"); in Init()
502 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device failed"); in Init()
506 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "InitAllPorts failed"); in Init()
509 ERR_NOT_STARTED, "Create render failed, Audio Port: %{public}d", audioPort_.portId); in Init() local
643 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, in Start()
646 CHECK_AND_RETURN_RET_LOG(err == SUCCESS, ERR_NOT_STARTED, in Start()
[all...]
/foundation/multimedia/media_utils_lite/interfaces/kits/
H A Dmedia_errors.h98 const int32_t ERR_NOT_STARTED = BASE_MEDIA_ERR_OFFSET + 8; member
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/
H A Dmultichannel_audio_renderer_sink.cpp483 return ERR_NOT_STARTED; in CreateRender()
610 return ERR_NOT_STARTED; in Start()
618 return ERR_NOT_STARTED; in Start()
623 return ERR_NOT_STARTED; in Start()
628 return ERR_NOT_STARTED; in Start()
1094 return ERR_NOT_STARTED; in InitAdapter()
1106 return ERR_NOT_STARTED; in InitAdapter()
1112 CHECK_AND_RETURN_RET_LOG((index >= 0), ERR_NOT_STARTED, "Switch Adapter failed"); in InitAdapter()
1116 ERR_NOT_STARTED, "Load Adapter Fail."); in InitAdapter()
1132 CHECK_AND_RETURN_RET_LOG((audioAdapter_ != nullptr), ERR_NOT_STARTED, "Audi in InitRender()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp350 ERR_NOT_STARTED, "Create capture failed"); in CreateCapture()
446 CHECK_AND_RETURN_RET_LOG(size <= MAX_AUDIO_ADAPTER_NUM && size != 0 && ret == 0, ERR_NOT_STARTED, in Init()
452 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Capture Fail"); in Init()
455 CHECK_AND_RETURN_RET_LOG(loadAdapter == 0, ERR_NOT_STARTED, "Load Adapter Fail"); in Init()
457 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device failed"); in Init()
463 CHECK_AND_RETURN_RET_LOG(tmp, ERR_NOT_STARTED, "Create capture failed"); in Init()
544 return ERR_NOT_STARTED; in Start()
552 return ERR_NOT_STARTED; in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp423 return ERR_NOT_STARTED; in CreateRender()
471 CHECK_AND_RETURN_RET_LOG(InitAudioManager() == 0, ERR_NOT_STARTED, in Init() local
478 ERR_NOT_STARTED, "Get adapters Fail"); in Init()
482 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Fail"); in Init()
486 CHECK_AND_RETURN_RET_LOG(loadAdapter == 0, ERR_NOT_STARTED, "Load Adapter Fail"); in Init()
487 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device failed"); in Init()
491 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "InitAllPorts failed"); in Init()
494 CHECK_AND_RETURN_RET_LOG(result == 0, ERR_NOT_STARTED, "Create render failed"); in Init()
498 CHECK_AND_RETURN_RET_LOG(result == 0, ERR_NOT_STARTED, "Prepare mmap buffer failed"); in Init()
646 return ERR_NOT_STARTED; in CheckBluetoothScenario()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp259 CHECK_AND_RETURN_RET_LOG(audioManager_ != nullptr, ERR_NOT_STARTED, "Init audio manager fail."); in Init()
262 CHECK_AND_RETURN_RET_LOG(desc != nullptr, ERR_NOT_STARTED, "Get target adapters descriptor fail."); in Init()
273 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device adapter failed."); in Init()
279 CHECK_AND_RETURN_RET_LOG(CreateCapture(audioPort_) == SUCCESS, ERR_NOT_STARTED, in Init() local
487 CHECK_AND_RETURN_RET_LOG(err == SUCCESS, ERR_NOT_STARTED, in Start()
498 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "Remote fast capturer start fail, ret %{public}d.", ret); in Start()
501 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ERR_NOT_STARTED, in Start()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_errors.h87 const int32_t ERR_NOT_STARTED = BASE_AUDIO_ERR_OFFSET - 8; member
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/
H A Doffload_audio_renderer_sink.cpp584 return ERR_NOT_STARTED; in CreateRender()
598 CHECK_AND_RETURN_RET_LOG(InitAudioManager() == 0, ERR_NOT_STARTED, "Init audio manager Fail."); in Init() local
608 CHECK_AND_RETURN_RET_LOG(size <= MAX_AUDIO_ADAPTER_NUM && size != 0 && ret == 0, ERR_NOT_STARTED, in Init()
614 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Fail."); in Init()
618 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "Load Adapter Fail."); in Init()
620 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device failed."); in Init()
624 CHECK_AND_RETURN_RET_LOG(result == 0, ERR_NOT_STARTED, "InitAllPorts failed."); in Init()
627 CHECK_AND_RETURN_RET_LOG(tmp == 0, ERR_NOT_STARTED, in Init()
725 return ERR_NOT_STARTED; in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp259 CHECK_AND_RETURN_RET_LOG(audioManager_ != nullptr, ERR_NOT_STARTED, "Init audio manager fail."); in Init()
262 CHECK_AND_RETURN_RET_LOG(desc != nullptr, ERR_NOT_STARTED, "Get target adapters descriptor fail."); in Init()
273 CHECK_AND_RETURN_RET_LOG(audioAdapter_ != nullptr, ERR_NOT_STARTED, "Load audio device adapter failed."); in Init()
502 CHECK_AND_RETURN_RET_LOG(CreateRender(audioPort_) == SUCCESS, ERR_NOT_STARTED, in Start() local
513 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ERR_NOT_STARTED, "Start fail, ret %{public}d.", ret); in Start()
515 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ERR_NOT_STARTED, "CheckPositionTime failed, ret %{public}d.", ret); in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote/
H A Dremote_audio_capturer_source.cpp245 CHECK_AND_RETURN_RET_LOG(audioManager != nullptr, ERR_NOT_STARTED, "Init audio manager fail."); in Init()
253 CHECK_AND_RETURN_RET_LOG(desc != nullptr, ERR_NOT_STARTED, "Get target adapters descriptor fail."); in Init()
264 CHECK_AND_RETURN_RET_LOG(audioAdapter != nullptr, ERR_NOT_STARTED, "Load audio device adapter failed."); in Init()
412 CHECK_AND_RETURN_RET_LOG(CreateCapture(audioPort_) == SUCCESS, ERR_NOT_STARTED, in Start() local
423 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "Start fail, ret %{public}d.", ret); in Start()
/foundation/multimedia/media_lite/services/recorder_lite/impl/src/
H A Drecorder_video_source.cpp113 return ERR_NOT_STARTED; in AcquireBuffer()
H A Drecorder_data_source.cpp96 return ERR_NOT_STARTED; in AcquireBuffer()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/primary/
H A Daudio_renderer_sink.cpp716 return ERR_NOT_STARTED; in CreateRender()
870 return ERR_NOT_STARTED; in Start()
1411 CHECK_AND_RETURN_RET_LOG(err == 0, ERR_NOT_STARTED, in InitAdapter()
1422 ERR_NOT_STARTED, "Get adapters failed"); in InitAdapter()
1427 CHECK_AND_RETURN_RET_LOG((index >= 0), ERR_NOT_STARTED, "Switch Adapter failed"); in InitAdapter()
1431 ERR_NOT_STARTED, "Load Adapter Fail."); in InitAdapter()
1449 CHECK_AND_RETURN_RET_LOG((audioAdapter_ != nullptr), ERR_NOT_STARTED, "Audio device not loaded"); in InitRender()
1453 ERR_NOT_STARTED, "Init ports failed"); in InitRender()
1456 CHECK_AND_RETURN_RET_LOG(err == 0, ERR_NOT_STARTED, in InitRender()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/
H A Daudio_capturer_source.cpp736 return ERR_NOT_STARTED; in CreateCapture()
968 return ERR_NOT_STARTED; in StartNonblockingCapture()
1034 return ERR_NOT_STARTED; in Start()
1518 CHECK_AND_RETURN_RET_LOG(err == 0, ERR_NOT_STARTED, "Init audio manager Fail"); in InitManagerAndAdapter()
1524 ERR_NOT_STARTED, "Get adapters Fail"); in InitManagerAndAdapter()
1531 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Capture Fail"); in InitManagerAndAdapter()
1537 CHECK_AND_RETURN_RET_LOG(loadAdapter == 0, ERR_NOT_STARTED, "Load Adapter Fail"); in InitManagerAndAdapter()
1538 CHECK_AND_RETURN_RET_LOG(iAudioAdapter != nullptr, ERR_NOT_STARTED, "Load audio device failed"); in InitManagerAndAdapter()
1562 CHECK_AND_RETURN_RET_LOG(createCapture == 0, ERR_NOT_STARTED, "Create capture failed"); in InitAdapterAndCapture()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/
H A Dremote_audio_renderer_sink.cpp302 CHECK_AND_RETURN_RET_LOG(audioManager != nullptr, ERR_NOT_STARTED, "Init audio manager fail."); in Init()
310 CHECK_AND_RETURN_RET_LOG(desc != nullptr, ERR_NOT_STARTED, "Get target adapters descriptor fail."); in Init()
324 CHECK_AND_RETURN_RET_LOG(audioAdapter != nullptr, ERR_NOT_STARTED, "Load audio device adapter failed."); in Init()
522 ERR_NOT_STARTED, "Create render fail, audio port %{public}d", audioPort.second.portId); in Start() local
543 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "Start fail, ret %{public}d.", ret); in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/devicemanager/src/
H A Daudio_device_adapter_impl.cpp256 CHECK_AND_RETURN_RET_LOG(ret == 0 && audioRender != nullptr, ERR_NOT_STARTED, "AudioDeviceCreateRender failed"); in CreateRender()
299 ERR_NOT_STARTED, "Create capture failed, error code %{public}d.", ret); in CreateCapture()
H A Daudio_device_manager_impl.cpp110 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_NOT_STARTED, "Get adapters failed"); in GetAllAdapters()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dnone_mix_engine.cpp100 CHECK_AND_RETURN_RET_LOG(renderSink_->IsInited(), ERR_NOT_STARTED, "sink Not Inited! Init the sink first"); in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/test/unittest/
H A Dremote_fast_audio_capturer_source_unittest.cpp319 EXPECT_EQ(ret, ERR_NOT_STARTED); in HWTEST_F()

Completed in 25 milliseconds