react-native-audio-api 0.4.7-rc1 → 0.4.7
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.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<img src="./
|
|
1
|
+
<img src="./assets/react-native-audio-api-gh-cover.png?v0.0.1" alt="React Native Audio API" width="100%">
|
|
2
2
|
|
|
3
3
|
### React Native Audio API
|
|
4
4
|
|
|
@@ -39,7 +39,7 @@ You can also check out [MDN Web Docs](https://developer.mozilla.org/en-US/docs/W
|
|
|
39
39
|
|
|
40
40
|
## Coverage
|
|
41
41
|
|
|
42
|
-
Our current coverage of Web Audio API specification can be found here: [Web Audio API coverage](
|
|
42
|
+
Our current coverage of Web Audio API specification can be found here: [Web Audio API coverage](https://software-mansion-labs.github.io/react-native-audio-api/other/web-audio-api-coverage).
|
|
43
43
|
|
|
44
44
|
## Examples
|
|
45
45
|
|
|
@@ -25,16 +25,19 @@ class AudioBufferSourceNodeHostObject
|
|
|
25
25
|
JSI_EXPORT_PROPERTY_GETTER(AudioBufferSourceNodeHostObject, detune),
|
|
26
26
|
JSI_EXPORT_PROPERTY_GETTER(
|
|
27
27
|
AudioBufferSourceNodeHostObject, playbackRate));
|
|
28
|
+
|
|
28
29
|
addSetters(
|
|
29
30
|
JSI_EXPORT_PROPERTY_SETTER(AudioBufferSourceNodeHostObject, loop),
|
|
30
|
-
JSI_EXPORT_PROPERTY_SETTER(AudioBufferSourceNodeHostObject, buffer)
|
|
31
|
+
JSI_EXPORT_PROPERTY_SETTER(AudioBufferSourceNodeHostObject, buffer),
|
|
32
|
+
JSI_EXPORT_PROPERTY_SETTER(AudioBufferSourceNodeHostObject, loopStart),
|
|
33
|
+
JSI_EXPORT_PROPERTY_SETTER(AudioBufferSourceNodeHostObject, loopEnd));
|
|
31
34
|
|
|
32
35
|
// start method is overridden in this class
|
|
33
36
|
functions_->erase("start");
|
|
34
37
|
|
|
35
38
|
addFunctions(
|
|
36
39
|
JSI_EXPORT_FUNCTION(AudioBufferSourceNodeHostObject, start));
|
|
37
|
-
|
|
40
|
+
}
|
|
38
41
|
|
|
39
42
|
JSI_PROPERTY_GETTER(loop) {
|
|
40
43
|
auto audioBufferSourceNode =
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-api",
|
|
3
|
-
"version": "0.4.7
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|