Home
last modified time | relevance | path

Searched refs:soundId_ (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/soundpool/include/
H A Dsoundpool_napi.h169 int32_t soundId_ = 0; member
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp247 int32_t streamId = asyncCtx->soundPool_->Play(asyncCtx->soundId_, asyncCtx->playParameters_); in JsPlay()
515 napi_status status = napi_get_value_int32(env, args[PARAM0], &asyncCtx->soundId_); in JsUnload()
516 if (status != napi_ok || asyncCtx->soundId_ <= 0) { in JsUnload()
522 if (status == napi_ok && asyncCtx->soundId_ > 0) { in JsUnload()
527 int32_t ret = asyncCtx->soundPool_->Unload(asyncCtx->soundId_); in JsUnload()
532 asyncCtx->soundId_); in JsUnload()
743 napi_status status = napi_get_value_int32(env, argv[PARAM0], &asyncCtx->soundId_); in ParserPlayOptionFromJs()
744 CHECK_AND_RETURN_RET((status == napi_ok && asyncCtx->soundId_ > 0), in ParserPlayOptionFromJs()

Completed in 2 milliseconds