Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/js/soundpool/include/
H A Dsoundpool_napi.h35 struct SoundPoolAsyncContext;
133 int32_t ParserLoadOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx,
135 int32_t ParserPlayOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx,
137 int32_t ParserRateOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx,
139 int32_t ParserVolumeOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx,
158 struct SoundPoolAsyncContext : public MediaAsyncContext { struct
159 explicit SoundPoolAsyncContext(napi_env env) : MediaAsyncContext(env) {} in SoundPoolAsyncContext() function
160 ~SoundPoolAsyncContext() = default;
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp149 std::unique_ptr<SoundPoolAsyncContext> asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsCreateSoundPool()
176 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsLoad()
177 CHECK_AND_RETURN_RET_LOG(asyncCtx != nullptr, result, "failed to get SoundPoolAsyncContext"); in JsLoad()
192 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsLoad()
228 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsPlay()
229 CHECK_AND_RETURN_RET_LOG(asyncCtx != nullptr, result, "failed to get SoundPoolAsyncContext"); in JsPlay()
244 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(dat in JsPlay()
[all...]

Completed in 3 milliseconds