@react-native-ohos/audio-toolkit 2.0.4-rc.2 → 2.0.4-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +2 -136
  2. package/LICENSE +22 -22
  3. package/{harmony/audio_toolkit/OAT.xml → OAT.xml} +47 -37
  4. package/README.md +11 -17
  5. package/ReactNativeAudioToolkit.podspec +18 -18
  6. package/harmony/audio_toolkit/build-profile.json5 +7 -7
  7. package/harmony/audio_toolkit/hvigorfile.ts +1 -1
  8. package/harmony/audio_toolkit/index.ets +26 -25
  9. package/harmony/audio_toolkit/oh-package.json5 +12 -12
  10. package/harmony/audio_toolkit/src/main/cpp/AudioToolkitPackage.h +9 -13
  11. package/harmony/audio_toolkit/src/main/cpp/CMakeLists.txt +3 -2
  12. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/{BaseAudioToolkitPackage.h → BaseReactNativeAudioToolkitPackage.h} +69 -76
  13. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioPlayer.cpp +23 -23
  14. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioPlayer.h +16 -16
  15. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioRecorder.cpp +20 -20
  16. package/harmony/audio_toolkit/src/main/cpp/generated/RNOH/generated/turbo_modules/RCTAudioRecorder.h +16 -16
  17. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/ComponentDescriptors.h +22 -24
  18. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/EventEmitters.cpp +18 -16
  19. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/EventEmitters.h +19 -17
  20. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/Props.cpp +21 -19
  21. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/Props.h +20 -18
  22. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/ShadowNodes.cpp +19 -17
  23. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/ShadowNodes.h +25 -23
  24. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/States.cpp +18 -16
  25. package/harmony/audio_toolkit/src/main/cpp/generated/react/renderer/components/{audio_toolkit → react_native_audio_toolkit}/States.h +23 -19
  26. package/harmony/audio_toolkit/src/main/ets/{AudioToolkitPackage.ts → AudioToolkitPackage.ets} +51 -50
  27. package/harmony/audio_toolkit/src/main/ets/Logger.ts +63 -63
  28. package/harmony/audio_toolkit/src/main/ets/RNCAudioPlayerTurboModule.ts +432 -432
  29. package/harmony/audio_toolkit/src/main/ets/RNCAudioRecorderTurboModule.ts +260 -260
  30. package/harmony/audio_toolkit/src/main/ets/generated/components/ts.ts +5 -5
  31. package/harmony/audio_toolkit/src/main/ets/generated/index.ets +5 -5
  32. package/harmony/audio_toolkit/src/main/ets/generated/ts.ts +6 -6
  33. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/RCTAudioPlayer.ts +40 -40
  34. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/RCTAudioRecorder.ts +24 -24
  35. package/harmony/audio_toolkit/src/main/ets/generated/turboModules/ts.ts +6 -6
  36. package/harmony/audio_toolkit/src/main/module.json5 +6 -6
  37. package/harmony/audio_toolkit/src/main/resources/base/element/string.json +7 -7
  38. package/harmony/audio_toolkit/src/main/resources/en_US/element/string.json +7 -7
  39. package/harmony/audio_toolkit/src/main/resources/zh_CN/element/string.json +7 -7
  40. package/harmony/audio_toolkit/{ts.ts → ts.ets} +25 -25
  41. package/harmony/audio_toolkit.har +0 -0
  42. package/package.json +48 -47
  43. package/src/Player.js +329 -329
  44. package/src/PlayerModule.ts +51 -51
  45. package/src/Recorder.js +183 -183
  46. package/src/RecorderModule.ts +83 -83
  47. package/src/index.ts +5 -5
  48. package/COMMITTERS.md +0 -7
  49. package/harmony/audio_toolkit/BuildProfile.ets +0 -17
  50. package/harmony/audio_toolkit/LICENSE +0 -21
  51. package/harmony/audio_toolkit/NOTICE +0 -33
  52. package/harmony/audio_toolkit/README.OpenSource +0 -11
  53. package/harmony/audio_toolkit/README.md +0 -17
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2015-present, Facebook, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,33 +0,0 @@
1
- OPEN SOURCE SOFTWARE NOTICE
2
-
3
- Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders.
4
-
5
- Warranty Disclaimer
6
- THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
7
-
8
- Copyright Notice and License Texts
9
-
10
- ----------------------------------------------------------------------
11
- Software: @react-native-clipboard/clipboard V1.12.1
12
-
13
- MIT License
14
-
15
- Copyright (c) 2015-present, Facebook, Inc.
16
-
17
- Permission is hereby granted, free of charge, to any person obtaining a copy
18
- of this software and associated documentation files (the "Software"), to deal
19
- in the Software without restriction, including without limitation the rights
20
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
- copies of the Software, and to permit persons to whom the Software is
22
- furnished to do so, subject to the following conditions:
23
-
24
- The above copyright notice and this permission notice shall be included in all
25
- copies or substantial portions of the Software.
26
-
27
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
- SOFTWARE.
@@ -1,11 +0,0 @@
1
- [
2
- {
3
- "Name": "@react-native-clipboard/clipboard",
4
- "License": "MIT License",
5
- "License File": "https://github.com/react-native-clipboard/clipboard/blob/master/LICENSE",
6
- "Version Number": "1.12.1",
7
- "Owner" : "M.Haris Baig <harisbaig100@gmail.com>"
8
- "Upstream URL": "https://github.com/react-native-clipboard/clipboard",
9
- "Description": "React Native Clipboard API for macOS, iOS, Android, and Windows."
10
- }
11
- ]
@@ -1,17 +0,0 @@
1
- # react-native-audio-toolkit
2
-
3
- 本项目基于 [react-native-audio-toolkit](https://github.com/react-native-audio-toolkit/react-native-audio-toolkit)
4
-
5
- ## 文档地址 / Documentation URL
6
-
7
- [中文 / Chinese](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-audio-toolkit.md)
8
-
9
- ## Codegen
10
-
11
- 该库已接入 codegen,具体请查阅文档。
12
-
13
- The library has been integrated with codegen. Please refer to the documentation for details.
14
-
15
- ## 请悉知 / Acknowledgements
16
-
17
- 本项目基于 [The MIT License (MIT)](hhttps://github.com/react-native-audio-toolkit/react-native-audio-toolkit/blob/master/LICENSE) ,请自由地享受和参与开源。