react-native-audio-api 0.5.4 → 0.5.5
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.
|
@@ -222,7 +222,12 @@ void AudioNode::connectNode(const std::shared_ptr<AudioNode> &node) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
void AudioNode::disconnectNode(const std::shared_ptr<AudioNode> &node) {
|
|
225
|
-
outputNodes_.
|
|
225
|
+
auto position = outputNodes_.find(node);
|
|
226
|
+
|
|
227
|
+
if (position != outputNodes_.end()) {
|
|
228
|
+
node->onInputDisconnected(this);
|
|
229
|
+
outputNodes_.erase(node);
|
|
230
|
+
}
|
|
226
231
|
}
|
|
227
232
|
|
|
228
233
|
void AudioNode::onInputEnabled() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-api",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification",
|
|
5
5
|
"bin": {
|
|
6
6
|
"setup-rn-audio-api-web": "./scripts/setup-rn-audio-api-web.js"
|