pub unsafe extern "C" fn OH_AudioWorkgroup_RemoveThread(
group: *mut OH_AudioWorkgroup,
tokenId: i32,
) -> OH_AudioCommon_ResultAvailable on crate feature
api-20 only.Expand description
Remove the thread from a specified audio workgroup.
§Arguments
-
group-OH_AudioWorkgrouphandle provided byOH_AudioResourceManager_CreateWorkgroup. -
tokenId- id for thread returned by {link OH_AudioWorkgroup_AddCurrentThread}
§Returns
- [
#AUDIOCOMMON_RESULT_SUCCESS] if execution succeeds [#AUDIOCOMMON_RESULT_ERROR_INVALID_PARAM] if input param is nullptr or token id is invalid [#AUDIOCOMMON_RESULT_ERROR_SYSTEM] system process error occurs
Available since API-level: 20