@react-native-ohos/react-native-audio-recorder-player 3.7.1-beta.1 → 3.7.2

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 (34) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +20 -20
  3. package/README.OpenSource +10 -10
  4. package/README.md +899 -753
  5. package/harmony/audio_recorder_player/BuildProfile.ets +16 -16
  6. package/harmony/audio_recorder_player/LICENSE +21 -21
  7. package/harmony/audio_recorder_player/build-profile.json5 +28 -28
  8. package/harmony/audio_recorder_player/index.ets +27 -25
  9. package/harmony/audio_recorder_player/oh-package-lock.json5 +18 -0
  10. package/harmony/audio_recorder_player/oh-package.json5 +20 -20
  11. package/harmony/audio_recorder_player/src/main/cpp/CMakeLists.txt +7 -7
  12. package/harmony/audio_recorder_player/src/main/cpp/RNAudioRecorderPlayerPackage.h +48 -48
  13. package/harmony/audio_recorder_player/src/main/cpp/RNAudioRecorderPlayerTurboModule.cpp +90 -90
  14. package/harmony/audio_recorder_player/src/main/cpp/RNAudioRecorderPlayerTurboModule.h +35 -35
  15. package/harmony/audio_recorder_player/src/main/ets/{RNAudioRecorderPlayerPackage.ts → RNAudioRecorderPlayerPackage.ets} +48 -47
  16. package/harmony/audio_recorder_player/src/main/ets/RNAudioRecorderPlayerTurboModule.ts +330 -323
  17. package/harmony/audio_recorder_player/src/main/ets/audioPlayer/AudioPlayer.ts +469 -464
  18. package/harmony/audio_recorder_player/src/main/ets/audioPlayer/types.ts +45 -45
  19. package/harmony/audio_recorder_player/src/main/ets/index.ts +209 -209
  20. package/harmony/audio_recorder_player/src/main/ets/recorder/Recorder.ts +305 -299
  21. package/harmony/audio_recorder_player/src/main/ets/recorder/types.ts +61 -61
  22. package/harmony/audio_recorder_player/src/main/ets/utils/DateTimeUtils.ts +88 -88
  23. package/harmony/audio_recorder_player/src/main/ets/utils/Logger.ts +45 -45
  24. package/harmony/audio_recorder_player/src/main/ets/utils/SaveAudioAsset.ts +101 -105
  25. package/harmony/audio_recorder_player/src/main/module.json5 +9 -9
  26. package/harmony/audio_recorder_player/src/main/resources/base/element/string.json +8 -8
  27. package/harmony/audio_recorder_player/src/main/resources/base/media/ic_public_error.svg +9 -9
  28. package/harmony/audio_recorder_player/src/main/resources/en_US/element/string.json +8 -8
  29. package/harmony/audio_recorder_player/src/main/resources/zh_CN/element/string.json +8 -8
  30. package/harmony/audio_recorder_player/{ts.ts → ts.ets} +26 -26
  31. package/harmony/audio_recorder_player.har +0 -0
  32. package/index.ts +539 -539
  33. package/package.json +77 -60
  34. package/src/NativeAudioRecorderPlayerModule.ts +42 -42
package/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Changelog
2
+
3
+ ## 鸿蒙化Log
4
+ ### v3.7.2
5
+ - release:@react-native-ohos/react-native-audio-recorder-player@3.7.2 [#50](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/50)
6
+ - fix:The problem of file not being overwritten when recording again with the same file name modified [#45](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/45)
7
+ - fix: modify quality hardening bug for master update [#47](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/47)
8
+
9
+ ### v3.7.1
10
+ - release version v3.7.1 [#39](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/39)
11
+ - docs: update readme [#36](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/36)
12
+ - docs: 更新82 react-native-audio-recorder-player中英文文档 [#33](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/33)
13
+ - feat: 82适配以及支持autolink [#27](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/27)
14
+ - merge:同步77分支代码到master分支 [#25](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/25)
15
+ - merge:同步77分支代码到master分支 [#26](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/26)
16
+ - docs: 更新readme [#28](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/28)
17
+ - fix:把遗漏的封装格式AAC补齐 [#22](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/22)
18
+
19
+ ### v3.7.0
20
+ - release:@react-native-ohos/react-native-audio-recorder-player@3.7.0 [#20](https://gitcode.com/CPF-RN/rntpc_react-native-audio-recorder-player/pull/20)
21
+
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 hyochan
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
1
+ MIT License
2
+
3
+ Copyright (c) 2024 hyochan
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
21
  SOFTWARE.
package/README.OpenSource CHANGED
@@ -1,11 +1,11 @@
1
- [
2
- {
3
- "Name": "react-native-audio-recorder-player",
4
- "License": "MIT License",
5
- "License File": "https://github.com/hyochan/react-native-audio-recorder-player/blob/main/LICENSE",
6
- "Version Number": "3.6.13",
7
- "Owner" : "xiafeng@huawei.com",
8
- "Upstream URL": "https://github.com/hyochan/react-native-audio-recorder-player",
9
- "Description": "react-native native module for audio recorder and player with nitromodule!"
10
- }
1
+ [
2
+ {
3
+ "Name": "react-native-audio-recorder-player",
4
+ "License": "MIT License",
5
+ "License File": "https://github.com/hyochan/react-native-audio-recorder-player/blob/main/LICENSE",
6
+ "Version Number": "3.6.13",
7
+ "Owner" : "xiafeng@huawei.com",
8
+ "Upstream URL": "https://github.com/hyochan/react-native-audio-recorder-player",
9
+ "Description": "react-native native module for audio recorder and player with nitromodule!"
10
+ }
11
11
  ]