1{
2    "name": "@ohos/audio_framework",
3    "description": "Audio standard provides managers and provides the audio resources to application for play/record audio",
4    "version": "4.0",
5    "license": "Apache License 2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "foundation/multimedia/audio_framework"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "audio_framework",
14        "subsystem": "multimedia",
15        "syscap": [
16          "SystemCapability.Multimedia.Audio.Core",
17          "SystemCapability.Multimedia.Audio.Renderer",
18          "SystemCapability.Multimedia.Audio.Capturer",
19          "SystemCapability.Multimedia.Audio.Device",
20          "SystemCapability.Multimedia.Audio.Volume",
21          "SystemCapability.Multimedia.Audio.Communication",
22          "SystemCapability.Multimedia.Audio.Tone",
23          "SystemCapability.Multimedia.Audio.Interrupt",
24          "SystemCapability.Multimedia.Audio.PlaybackCapture",
25          "SystemCapability.Multimedia.Audio.Spatialization"
26        ],
27        "features": [
28          "audio_framework_feature_double_pnp_detect",
29          "audio_framework_feature_dtmf_tone",
30          "audio_framework_feature_opensl_es",
31          "audio_framework_suport_svsession_manager",
32          "audio_framework_feature_support_os_account",
33          "audio_framework_feature_hitrace_enable"
34        ],
35        "adapted_system_type": [ "standard" ],
36        "rom": "4500KB",
37        "ram": "11000KB",
38        "deps": {
39          "components": [
40            "av_session",
41            "ability_base",
42            "ability_runtime",
43            "access_token",
44            "accessibility",
45            "bluetooth",
46            "bundle_framework",
47            "c_utils",
48            "common_event_service",
49            "config_policy",
50            "data_share",
51            "device_manager",
52            "distributed_notification_service",
53            "drivers_interface_audio",
54            "drivers_interface_distributed_audio",
55            "drivers_peripheral_bluetooth",
56            "eventhandler",
57            "hdf_core",
58            "hicollie",
59            "hisysevent",
60            "hitrace",
61            "hiview",
62            "hilog",
63            "i18n",
64            "image_framework",
65            "init",
66            "input",
67            "ipc",
68            "kv_store",
69            "napi",
70            "power_manager",
71            "resource_management",
72            "resource_schedule_service",
73            "safwk",
74            "samgr",
75            "sensor",
76            "os_account",
77            "bounds_checking_function",
78            "pulseaudio",
79            "libuv",
80            "cJSON",
81            "opensles",
82            "qos_manager",
83            "media_foundation"
84            ],
85          "third_party": [
86            "glib",
87            "libsnd",
88            "libxml2",
89            "openssl"
90          ]
91        },
92        "build": {
93          "group_type": {
94            "base_group": [
95            ],
96            "fwk_group": [
97              "//foundation/multimedia/audio_framework/frameworks/js/napi:audio",
98              "//foundation/multimedia/audio_framework/frameworks/cj:cj_multimedia_audio_ffi",
99              "//foundation/multimedia/audio_framework/frameworks/native/ohaudio:ohaudio",
100              "//foundation/multimedia/audio_framework/frameworks/native/opensles:opensles",
101              "//foundation/multimedia/audio_framework/services/audio_service:audio_sasdk"
102            ],
103            "service_group": [
104              "//foundation/multimedia/audio_framework/sa_profile:audio_service_sa_profile",
105              "//foundation/multimedia/audio_framework/services/audio_service:audio_service_packages",
106              "//foundation/multimedia/audio_framework/services/audio_policy:audio_policy_packages",
107              "//foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules:pa_extend_modules"
108            ]
109          },
110          "inner_kits": [
111            {
112                "header": {
113                  "header_base": "//foundation/multimedia/audio_framework/interfaces/inner_api/native/audiosasdk/include",
114                  "header_files": [
115                    "audio_sasdk.h"
116                  ]
117                },
118                "name": "//foundation/multimedia/audio_framework/services/audio_service:audio_sasdk"
119            },
120            {
121              "type": "none",
122              "name": "//foundation/multimedia/audio_framework/services/audio_service:audio_client",
123              "header": {
124                "header_files": [
125                  "audio_system_manager.h",
126                  "audio_stream_manager.h",
127                  "audio_group_manager.h",
128                  "./audiocommon/include/audio_info.h"
129                ],
130                "header_base": [
131                    "//foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include"
132                ]
133              }
134            },
135            {
136              "type": "none",
137              "name": "//foundation/multimedia/audio_framework/frameworks/native/audiocapturer:audio_capturer",
138              "header": {
139                "header_files": [
140                  "./audiocapturer/include/audio_capturer.h",
141                  "./audiocommon/include/audio_info.h"
142                ],
143                "header_base": [
144                    "//foundation/multimedia/audio_framework/interfaces/inner_api/native"
145                 ]
146              }
147            },
148            {
149              "type": "none",
150              "name": "//foundation/multimedia/audio_framework/frameworks/native/audiorenderer:audio_renderer",
151              "header": {
152                "header_files": [
153                  "audio_renderer.h"
154                ],
155                "header_base": "//foundation/multimedia/audio_framework/interfaces/inner_api/native/audiorenderer/include"
156              }
157            },
158            {
159              "type": "none",
160              "name": "//foundation/multimedia/audio_framework/frameworks/native/toneplayer:audio_toneplayer",
161              "header": {
162                "header_files": [
163                  "tone_player.h",
164                  "audio_renderer.h"
165                ],
166                "header_base": "//foundation/multimedia/audio_framework/interfaces/inner_api/native/toneplayer/include"
167              }
168            },
169            {
170              "type": "none",
171              "name": "//foundation/multimedia/audio_framework/frameworks/native/audioeffect:audio_effect_integration",
172              "header": {
173                "header_files": [
174                  "./audiocommon/include/audio_effect.h"
175                ],
176                "header_base": "//foundation/multimedia/audio_framework/interfaces/inner_api/native"
177              }
178            },
179            {
180              "type": "none",
181              "name": "//foundation/multimedia/audio_framework/frameworks/native/audioutils:audio_utils",
182              "header": {
183                "header_files": [
184                  "./audiocommon/include/audio_common_utils.h"
185                ],
186                "header_base": "//foundation/multimedia/audio_framework/interfaces/inner_api/native"
187              }
188            }
189          ],
190          "test": [
191            "//foundation/multimedia/audio_framework/test:audio_unit_test",
192            "//foundation/multimedia/audio_framework/test:audio_module_test",
193            "//foundation/multimedia/audio_framework/test:audio_fuzz_test",
194            "//foundation/multimedia/audio_framework/test:audio_benchmark_test",
195            "//foundation/multimedia/audio_framework/frameworks/native/audiorenderer:audio_renderer_test_packages",
196            "//foundation/multimedia/audio_framework/frameworks/native/audiocapturer:audio_capturer_test_packages",
197            "//foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/test/unittest:remote_fast_audio_capturer_source_unittest",
198            "//foundation/multimedia/audio_framework/frameworks/native/opensles:audio_opensles_test_packages",
199            "//foundation/multimedia/audio_framework/frameworks/native/toneplayer:audio_toneplayer_test",
200            "//foundation/multimedia/audio_framework/services/audio_service:audio_service_test_packages",
201            "//foundation/multimedia/audio_framework/services/audio_policy:audio_policy_test_packages"
202          ]
203        }
204    }
205}
206