whisper.rn 0.2.2 → 0.2.3
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/ios/RNWhisperContext.mm +2 -0
- package/package.json +1 -1
package/ios/RNWhisperContext.mm
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
self->recordState.isRealtime = true;
|
|
54
54
|
self->recordState.isTranscribing = false;
|
|
55
55
|
self->recordState.isCapturing = false;
|
|
56
|
+
self->recordState.isStoppedByAction = false;
|
|
56
57
|
|
|
57
58
|
self->recordState.mSelf = self;
|
|
58
59
|
}
|
|
@@ -284,6 +285,7 @@ void AudioInputCallback(void * inUserData,
|
|
|
284
285
|
if (!self->recordState.isRealtime || !self->recordState.isCapturing) {
|
|
285
286
|
return;
|
|
286
287
|
}
|
|
288
|
+
self->recordState.isTranscribing = false;
|
|
287
289
|
self->recordState.isCapturing = false;
|
|
288
290
|
self->recordState.isStoppedByAction = true;
|
|
289
291
|
[self stopAudio];
|