diff --git a/multimedia/audio/audio_js_standard/audioManager/signature/openharmony_sx.p7b b/multimedia/audio/audio_js_standard/audioManager/signature/openharmony_sx.p7b index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..cf8a09ecd0e9d7230a7b8310a4bc2a9f59e920af 100755 Binary files a/multimedia/audio/audio_js_standard/audioManager/signature/openharmony_sx.p7b and b/multimedia/audio/audio_js_standard/audioManager/signature/openharmony_sx.p7b differ diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/config.json b/multimedia/audio/audio_js_standard/audioManager/src/main/config.json index cc29d5d6c4fdf4148f367e2848729b15aa0bf9c8..9bed2c59168670f7c510219a77d6a6ee70ca30cc 100755 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/config.json +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/config.json @@ -69,6 +69,48 @@ "autoDesignWidth": true } } - ] + ], + "reqPermissions": [ + { + "name": "ohos.permission.GET_BUNDLE_INFO", + "reason": "use ohos.permission.GET_BUNDLE_INFO" + }, + { + "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "reason": "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" + }, + { + "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", + "reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS" + }, + { + "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", + "reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" + }, + { + "name": "ohos.permission.MEDIA_LOCATION", + "reason": "use ohos.permission.MEDIA_LOCATION" + }, + { + "name": "ohos.permission.READ_MEDIA", + "reason": "use ohos.permission.READ_MEDIA" + }, + { + "name": "ohos.permission.WRITE_MEDIA", + "reason": "use ohos.permission.WRITE_MEDIA" + }, + { + "name": "ohos.permission.MICROPHONE", + "reason": "use ohos.permission.MICROPHONE" + }, + { + "name": "ohos.permission.ACCESS_NOTIFICATION_POLICY", + "reason": "use ohos.permission.ACCESS_NOTIFICATION_POLICY" + }, + { + "name": "ohos.permission.MODIFY_AUDIO_SETTINGS", + "reason": "use ohos.permission.MODIFY_AUDIO_SETTINGS" + } + ] } } \ No newline at end of file diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioRenderer.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioRenderer.test.js index 03f637af7616cfd5dd5e95f89c3ff3ad1d2dee10..5321bf3ee0f71bb0add37ab24c8c71e1e1b4c4d3 100644 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioRenderer.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioRenderer.test.js @@ -1384,7 +1384,7 @@ describe('audioRenderer', function () { await sleep(100); console.info('AudioFrameworkRenderLog: waitTime : ' +waitTime); - while (rlen < totalSize/4) { + while (rlen < totalSize/10) { let buf = new ArrayBuffer(bufferSize); rlen += ss.readSync(buf); console.info('BufferAudioFramework: bytes read from file: ' +rlen);