react-native-audio-api 0.11.0-alpha.7 → 0.11.0-alpha.9
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.
|
@@ -134,7 +134,7 @@ Result<std::tuple<std::string, double, double>, std::string> IOSAudioRecorder::s
|
|
|
134
134
|
double outputFileSize = 0;
|
|
135
135
|
double outputDuration = 0;
|
|
136
136
|
|
|
137
|
-
if (
|
|
137
|
+
if (isIdle()) {
|
|
138
138
|
return Result<std::tuple<std::string, double, double>, std::string>::Err("Not recording");
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -253,7 +253,7 @@ bool IOSAudioRecorder::isPaused() const
|
|
|
253
253
|
return false;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
return currentState == RecorderState::Paused
|
|
256
|
+
return currentState == RecorderState::Paused ||
|
|
257
257
|
[audioEngine getState] != AudioEngineState::AudioEngineStateRunning;
|
|
258
258
|
}
|
|
259
259
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-api",
|
|
3
|
-
"version": "0.11.0-alpha.
|
|
3
|
+
"version": "0.11.0-alpha.9",
|
|
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"
|