• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
15 
16 #ifndef I_AUDIO_SERVER_INTERFACE_H
17 #define I_AUDIO_SERVER_INTERFACE_H
18 
19 #include "audio_info.h"
20 
21 /* SAID: 3001 */
22 namespace OHOS {
23 namespace AudioStandard {
24     enum class AudioServerInterfaceCode {
25         GET_MAX_VOLUME = 0,
26         GET_MIN_VOLUME = 1,
27         GET_DEVICES = 2,
28         GET_AUDIO_PARAMETER = 3,
29         SET_AUDIO_PARAMETER = 4,
30         SET_MICROPHONE_MUTE = 5,
31         IS_MICROPHONE_MUTE = 6,
32         SET_AUDIO_SCENE = 7,
33         UPDATE_ROUTE_REQ = 8,
34         RETRIEVE_COOKIE = 9,
35         GET_TRANSACTION_ID = 10,
36         SET_PARAMETER_CALLBACK = 11,
37         GET_REMOTE_AUDIO_PARAMETER = 12,
38         SET_REMOTE_AUDIO_PARAMETER = 13,
39         NOTIFY_DEVICE_INFO = 14,
40         CHECK_REMOTE_DEVICE_STATE = 15,
41         SET_VOICE_VOLUME = 16,
42         SET_AUDIO_MONO_STATE = 17,
43         SET_AUDIO_BALANCE_VALUE = 18,
44         CREATE_AUDIOPROCESS = 19,
45         LOAD_AUDIO_EFFECT_LIBRARIES = 20,
46         REQUEST_THREAD_PRIORITY = 21,
47         CREATE_AUDIO_EFFECT_CHAIN_MANAGER = 22,
48         SET_OUTPUT_DEVICE_SINK = 23,
49         CREATE_PLAYBACK_CAPTURER_MANAGER = 24,
50         SET_SUPPORT_STREAM_USAGE = 25,
51         REGISET_POLICY_PROVIDER = 26,
52         SET_WAKEUP_CLOSE_CALLBACK = 27,
53         SET_CAPTURE_SILENT_STATE = 28,
54     };
55 } // namespace AudioStandard
56 } // namespace OHOS
57 
58 #endif // I_AUDIO_SERVER_INTERFACE_H
59