|
1 |
| - |
| 1 | +# react-native-audio-toolkit |
2 | 2 |
|
3 |
| -[](https://badge.fury.io/js/%40react-native-community%2Faudio-toolkit) |
| 3 | +本项目基于 [react-native-audio-toolkit](https://github.com/react-native-audio-toolkit/react-native-audio-toolkit) |
4 | 4 |
|
5 |
| -This is a cross-platform (Android and iOS) audio library for React Native. |
6 |
| -Both audio playback and recording is supported. In addition to basic |
7 |
| -functionality, many useful features are implemented such as seeking, |
8 |
| -looping and streaming audio files over the network. |
| 5 | +## 文档地址 / Documentation URL |
9 | 6 |
|
10 |
| -An example how to use this library is included in the [ExampleApp](/ExampleApp) |
11 |
| -directory. The demo showcases most of the functionality that is available, with |
12 |
| -documentation under [docs](/docs). In the simplest case, playing media is as |
13 |
| -easy as: |
| 7 | +[中文 / Chinese](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-audio-toolkit.md) |
14 | 8 |
|
15 |
| -```js |
16 |
| -new Player('filename.mp4').play(); |
17 |
| -``` |
| 9 | +## Codegen |
18 | 10 |
|
19 |
| -and recording media to filename.mp4 similarly |
20 |
| -```js |
21 |
| -new Recorder(‘filename.mp4’).record(); |
22 |
| -``` |
| 11 | +该库已接入 codegen,具体请查阅文档。 |
23 | 12 |
|
24 |
| -How to get this stuff running? |
25 |
| ------------------------------- |
| 13 | +The library has been integrated with codegen. Please refer to the documentation for details. |
26 | 14 |
|
27 |
| -* For a quick test drive, check out the [demo application](/ExampleApp) |
28 |
| -* [Include the library](/docs/SETUP.md) in your project |
| 15 | +## 请悉知 / Acknowledgements |
29 | 16 |
|
30 |
| -Documentation |
31 |
| -------------- |
32 |
| - |
33 |
| -* Find the API documentation [here](/docs/API.md) |
34 |
| -* Examples on playback from various [media sources](/docs/SOURCES.md) |
35 |
| -* Notes on [developing the library itself](/docs/DEVELOPING.md) |
36 |
| -* Rough [state diagram](/docs/state_diagram.svg) of the [Player](src/Player.js) |
37 |
| -* View the [changelog](/CHANGELOG.md) |
38 |
| - |
39 |
| -License |
40 |
| -------- |
41 |
| - |
42 |
| -All JavaScript, Android and iOS code licensed under MIT license, see LICENSE |
43 |
| -file. Some of the files are from React Native templates and are licensed |
44 |
| -accordingly. |
| 17 | +本项目基于 [The MIT License (MIT)](hhttps://github.com/react-native-audio-toolkit/react-native-audio-toolkit/blob/master/LICENSE) ,请自由地享受和参与开源。 |
0 commit comments