@edkimmel/expo-audio-stream 0.5.0 → 0.6.1
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/NATIVE_EVENTS.md +60 -6
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/src/main/java/expo/modules/audiostream/AudioEffectsManager.kt +6 -11
- package/android/src/main/java/expo/modules/audiostream/AudioRecorderManager.kt +23 -6
- package/android/src/main/java/expo/modules/audiostream/CommunicationAudioManager.kt +155 -0
- package/android/src/main/java/expo/modules/audiostream/Constants.kt +1 -0
- package/android/src/main/java/expo/modules/audiostream/ExpoPlayAudioStreamModule.kt +12 -3
- package/android/src/main/java/expo/modules/audiostream/pipeline/AudioPipeline.kt +12 -9
- package/build/events.d.ts +22 -0
- package/build/events.d.ts.map +1 -1
- package/build/events.js +18 -0
- package/build/events.js.map +1 -1
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +21 -10
- package/build/index.js.map +1 -1
- package/build/types.d.ts +13 -0
- package/build/types.d.ts.map +1 -1
- package/build/types.js.map +1 -1
- package/ios/ExpoPlayAudioStreamModule.swift +29 -12
- package/ios/Microphone.swift +153 -197
- package/ios/MicrophoneDataDelegate.swift +10 -1
- package/ios/SharedAudioEngine.swift +18 -0
- package/package.json +1 -1
- package/src/events.ts +28 -0
- package/src/index.ts +29 -26
- package/src/types.ts +13 -0
package/src/types.ts
CHANGED
|
@@ -140,6 +140,19 @@ export interface RecordingConfig {
|
|
|
140
140
|
export interface MicrophoneErrorEvent {
|
|
141
141
|
code: string;
|
|
142
142
|
message: string;
|
|
143
|
+
/**
|
|
144
|
+
* True when the recording session has stopped and the caller must call
|
|
145
|
+
* stopMicrophone() and reconnect to resume. False for transient conditions
|
|
146
|
+
* where recording continues (READ_ERROR on iOS) or the library will
|
|
147
|
+
* auto-recover (INTERRUPTED + autoResuming: true).
|
|
148
|
+
*/
|
|
149
|
+
isFatal: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* True only when code is INTERRUPTED — the library is waiting for the
|
|
152
|
+
* system to return the audio session and will reinstall the tap
|
|
153
|
+
* automatically. Always false when isFatal is true.
|
|
154
|
+
*/
|
|
155
|
+
autoResuming: boolean;
|
|
143
156
|
}
|
|
144
157
|
|
|
145
158
|
export interface Chunk {
|