1/* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15export const OH_AudioDecoder_CreateByMime: () => number; 16export const OH_AudioDecoder_CreateByName: () => number; 17export const OH_AudioDecoder_Destroy: () => number; 18export const OH_AudioDecoder_SetCallback: () => number; 19export const OH_AudioDecoder_Configure: () => number; 20export const OH_AudioDecoder_Prepare: () => number; 21export const OH_AudioDecoder_Start: () => number; 22export const OH_AudioDecoder_Stop: () => number; 23export const OH_AudioDecoder_Flush: () => number; 24export const OH_AudioDecoder_Reset: () => number; 25export const OH_AudioDecoder_GetOutputDescription: () => number; 26export const OH_AudioDecoder_SetParameter: () => number; 27export const OH_AudioDecoder_PushInputData: () => number; 28export const OH_AudioDecoder_FreeOutputData: () => number; 29export const OH_AudioDecoder_IsValid: () => number; 30export const OHAudioDecoderCreateByNameAnormal: () => number; 31export const OHAudioDecoderCreateByNameBnormal: () => number; 32export const OHAudioDecoderCreateByNameCnormal: () => number; 33export const OHAudioDecoderDestroyAnormal: () => number; 34export const OHAudioDecoderDestroyBnormal: () => number; 35export const OHAudioDecoderDestroyCnormal: () => number; 36export const OHAudioDecoderStartAnormal: () => number; 37export const OHAudioDecoderStartBnormal: () => number; 38export const OHAudioDecoderStartCnormal: () => number; 39export const OHAudioDecoderStopAnormal: () => number; 40export const OHAudioDecoderStopBnormal: () => number; 41export const OHAudioDecoderStopCnormal: () => number; 42export const OHAudioDecoderFlushAnormal: () => number; 43export const OHAudioDecoderFlushBnormal: () => number; 44export const OHAudioDecoderFlushCnormal: () => number; 45export const OHAudioDecoderResetAnormal: () => number; 46export const OHAudioDecoderResetBnormal: () => number; 47export const OHAudioDecoderResetCnormal: () => number; 48export const OHAudioDecoderGetOutputDescriptionAnormal: () => number; 49export const OHAudioDecoderGetOutputDescriptionBnormal: () => number; 50export const OHAudioDecoderGetOutputDescriptionCnormal: () => number; 51export const OHAudioDecoderSetParameterAnormal: () => number; 52export const OHAudioDecoderSetParameterBnormal: () => number; 53export const OHAudioDecoderSetParameterCnormal: () => number; 54export const OHAudioDecoderIsValidAnormal: () => number; 55export const OHAudioDecoderIsValidBnormal: () => number; 56export const OHAudioDecoderIsValidCnormal: () => number; 57