150a07fd2Sopenharmony_ci/*
250a07fd2Sopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd.
350a07fd2Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
450a07fd2Sopenharmony_ci * you may not use this file except in compliance with the License.
550a07fd2Sopenharmony_ci * You may obtain a copy of the License at
650a07fd2Sopenharmony_ci *
750a07fd2Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
850a07fd2Sopenharmony_ci *
950a07fd2Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1050a07fd2Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1150a07fd2Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1250a07fd2Sopenharmony_ci * See the License for the specific language governing permissions and
1350a07fd2Sopenharmony_ci * limitations under the License.
1450a07fd2Sopenharmony_ci */
1550a07fd2Sopenharmony_ci
1650a07fd2Sopenharmony_ci#ifndef OHOS_DAUDIO_IPC_INTERFACE_CODE_H
1750a07fd2Sopenharmony_ci#define OHOS_DAUDIO_IPC_INTERFACE_CODE_H
1850a07fd2Sopenharmony_ci
1950a07fd2Sopenharmony_ci#include <cstdint>
2050a07fd2Sopenharmony_ci
2150a07fd2Sopenharmony_cinamespace OHOS {
2250a07fd2Sopenharmony_cinamespace DistributedHardware {
2350a07fd2Sopenharmony_ci/* SAID: 4805 */
2450a07fd2Sopenharmony_cienum class IDAudioSourceInterfaceCode : uint32_t {
2550a07fd2Sopenharmony_ci    INIT_SOURCE = 0,
2650a07fd2Sopenharmony_ci    RELEASE_SOURCE = 1,
2750a07fd2Sopenharmony_ci    REGISTER_DISTRIBUTED_HARDWARE = 2,
2850a07fd2Sopenharmony_ci    UNREGISTER_DISTRIBUTED_HARDWARE = 3,
2950a07fd2Sopenharmony_ci    CONFIG_DISTRIBUTED_HARDWARE = 4,
3050a07fd2Sopenharmony_ci    DAUDIO_NOTIFY = 5,
3150a07fd2Sopenharmony_ci};
3250a07fd2Sopenharmony_ci
3350a07fd2Sopenharmony_ci/* SAID: 4806 */
3450a07fd2Sopenharmony_cienum class IDAudioSinkInterfaceCode : uint32_t {
3550a07fd2Sopenharmony_ci    INIT_SINK = 0,
3650a07fd2Sopenharmony_ci    RELEASE_SINK = 1,
3750a07fd2Sopenharmony_ci    SUBSCRIBE_LOCAL_HARDWARE = 2,
3850a07fd2Sopenharmony_ci    UNSUBSCRIBE_LOCAL_HARDWARE = 3,
3950a07fd2Sopenharmony_ci    DAUDIO_NOTIFY = 4,
4050a07fd2Sopenharmony_ci    PAUSE_DISTRIBUTED_HARDWARE = 5,
4150a07fd2Sopenharmony_ci    RESUME_DISTRIBUTED_HARDWARE = 6,
4250a07fd2Sopenharmony_ci    STOP_DISTRIBUTED_HARDWARE = 7,
4350a07fd2Sopenharmony_ci};
4450a07fd2Sopenharmony_ci} // namespace DistributedHardware
4550a07fd2Sopenharmony_ci} // namespace OHOS
4650a07fd2Sopenharmony_ci#endif
47