Skip to main content

OH_AudioWorkgroup_RemoveThread

Function OH_AudioWorkgroup_RemoveThread 

Source
pub unsafe extern "C" fn OH_AudioWorkgroup_RemoveThread(
    group: *mut OH_AudioWorkgroup,
    tokenId: i32,
) -> OH_AudioCommon_Result
Available on crate feature api-20 only.
Expand description

Remove the thread from a specified audio workgroup.

§Arguments

§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