@siteed/expo-audio-stream 1.11.0 → 1.11.2

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/CHANGELOG.md CHANGED
@@ -8,25 +8,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
 
10
10
 
11
+ ## [1.11.2] - 2025-01-22
12
+ - resources not cleanup properly on app kill (#80) ([7d522a5](https://github.com/deeeed/expo-audio-stream/commit/7d522a531e70065b99758aa3a4c669769fdbd110))
13
+
14
+ ## [1.11.1] - 2025-01-22
15
+ - chore: force deployment of 1.11.1
16
+
17
+
11
18
  ## [1.11.0] - 2025-01-22
12
19
  - feat(audio): add intelligent call interruption handling & compression improvements ([f8f6187](https://github.com/deeeed/expo-audio-stream/pull/78))
13
20
 
21
+
22
+
14
23
  ## [1.10.0] - 2025-01-14
15
24
  - add support for pausing and resuming compressed recordings ([bc3f629](https://github.com/deeeed/expo-audio-stream/commit/bc3f6295d060396325e0f008ff00b3be9c8722cd))
16
25
  - optimize notification channel settings ([daa075e](https://github.com/deeeed/expo-audio-stream/commit/daa075e668f8faf0b8d2849e18c37384bdd293b8))
17
26
 
18
27
 
28
+
29
+
19
30
  ## [1.9.2] - 2025-01-12
20
31
  - ios bitrate verification to prevent invalid values ([035a180](https://github.com/deeeed/expo-audio-stream/commit/035a1800833264edcc59724aaa8a2e12d5c78dc2))
21
32
 
22
33
 
23
34
 
35
+
36
+
24
37
  ## [1.9.1] - 2025-01-12
25
38
  - ios potentially missing compressed file info ([88a628c](https://github.com/deeeed/expo-audio-stream/commit/88a628c35f2bfd626a2a5de1eb6950efd814619d))
26
39
 
27
40
 
28
41
 
29
42
 
43
+
44
+
30
45
  ## [1.9.0] - 2025-01-11
31
46
  - feat(web-audio): optimize memory usage and streaming performance for web audio recording (#75) ([7b93e12](https://github.com/deeeed/expo-audio-stream/commit/7b93e12aae4bc0599b06b48ca34a60f65587fc75))
32
47
 
@@ -34,6 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
34
49
 
35
50
 
36
51
 
52
+
53
+
37
54
  ## [1.8.0] - 2025-01-10
38
55
  - feat(audio): implement audio compression support ([ff4e060](https://github.com/deeeed/expo-audio-stream/commit/ff4e060fef1061804c1cc0126d4344d2d50daa9a))
39
56
 
@@ -42,6 +59,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42
59
 
43
60
 
44
61
 
62
+
63
+
45
64
  ## [1.7.2] - 2025-01-07
46
65
  - fix(audio-stream): correct WAV header handling in web audio recording ([9ba7de5](https://github.com/deeeed/expo-audio-stream/commit/9ba7de5b96ca4cc937dea261c80d3fda9c99e8f4))
47
66
 
@@ -51,6 +70,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
51
70
 
52
71
 
53
72
 
73
+
74
+
54
75
  ## [1.7.1] - 2025-01-07
55
76
  - update notification to avoid triggering new alerts (#71) ([32dcfc5](https://github.com/deeeed/expo-audio-stream/commit/32dcfc55daf3236babefc17016f329c177d466fd))
56
77
 
@@ -61,6 +82,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
61
82
 
62
83
 
63
84
 
85
+
86
+
64
87
  ## [1.7.0] - 2025-01-05
65
88
  - feat(playground): enhance app configuration and build setup for production deployment (#58) ([929d443](https://github.com/deeeed/expo-audio-stream/commit/929d443145378b1430d215db5c00b13758420e2b))
66
89
  - chore(expo-audio-stream): release @siteed/expo-audio-stream@1.6.1 ([084e8ad](https://github.com/deeeed/expo-audio-stream/commit/084e8adb91da7874c9e608b55d9c7b2ffd7a8327))
@@ -77,6 +100,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
100
 
78
101
 
79
102
 
103
+
104
+
80
105
  ## [1.6.1] - 2024-12-11
81
106
  - chore(expo-audio-stream): remove git commit step from publish script ([4a772ce](https://github.com/deeeed/expo-audio-stream/commit/4a772ce93bb7405d9b8e981f46bdf8941a71ecfe))
82
107
  - chore: more publishing automation ([3693021](https://github.com/deeeed/expo-audio-stream/commit/369302107f9dca9dddd8ae68e6214481a39976ac))
@@ -97,6 +122,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
97
122
 
98
123
 
99
124
 
125
+
126
+
100
127
  ## [1.5.0] - 2024-12-10
101
128
  - UNPUBLISHED because of a bug in the build system
102
129
 
@@ -110,6 +137,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110
137
 
111
138
 
112
139
 
140
+
141
+
113
142
  ## [1.4.0] - 2024-12-05
114
143
  - chore: remove unusded dependencies ([ad81dd5](https://github.com/deeeed/expo-audio-stream/commit/ad81dd560c93dd1d04995a323a4ae72d4de20f3e))
115
144
 
@@ -123,6 +152,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
123
152
 
124
153
 
125
154
 
155
+
156
+
126
157
  ## [1.3.1] - 2024-12-05
127
158
  - feat(web): implement throttling and optimize event processing (#49) ([da28765](https://github.com/deeeed/expo-audio-stream/commit/da2876524c2c9d6e0a980fde40a0197b929d8a7f))
128
159
 
@@ -136,6 +167,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
136
167
 
137
168
 
138
169
 
170
+
171
+
139
172
  ## [1.3.0] - 2024-11-28
140
173
  ### Added
141
174
  - refactor(permissions): standardize permission status response structure across platforms (#44) ([7c9c800](https://github.com/deeeed/expo-audio-stream/commit/7c9c800d83b7cea3516643371484d5e1f3b99e4c))
@@ -154,6 +187,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
154
187
 
155
188
 
156
189
 
190
+
191
+
157
192
  ## [1.2.5] - 2024-11-12
158
193
  ### Added
159
194
  - docs(license): add MIT license to all packages (6 files changed)
@@ -169,6 +204,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
169
204
 
170
205
 
171
206
 
207
+
208
+
172
209
  ## [1.2.4] - 2024-11-05
173
210
  ### Changed
174
211
  - Android minimum audio interval set to 10ms.
@@ -187,6 +224,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
187
224
 
188
225
 
189
226
 
227
+
228
+
190
229
  ## [1.2.0] - 2024-10-24
191
230
  ### Added
192
231
  - Feature: Keep device awake during recording with `keepAwake` option
@@ -205,6 +244,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
205
244
 
206
245
 
207
246
 
247
+
248
+
208
249
  ## [1.1.17] - 2024-10-21
209
250
  ### Added
210
251
  - Support bluetooth headset on ios
@@ -220,6 +261,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
220
261
 
221
262
 
222
263
 
264
+
265
+
223
266
  ## [1.0.0] - 2024-04-01
224
267
  ### Added
225
268
  - Initial release of @siteed/expo-audio-stream.
@@ -230,7 +273,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
230
273
  - Feature: Audio features extraction during recording.
231
274
  - Feature: Consistent WAV PCM recording format across all platforms.
232
275
 
233
- [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.11.0...HEAD
276
+ [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.11.2...HEAD
277
+ [1.11.2]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.11.1...@siteed/expo-audio-stream@1.11.2
278
+ [1.11.1]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.11.0...@siteed/expo-audio-stream@1.11.1
234
279
  [1.11.0]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.10.0...@siteed/expo-audio-stream@1.11.0
235
280
  [1.10.0]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.9.2...@siteed/expo-audio-stream@1.10.0
236
281
  [1.9.2]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.9.1...@siteed/expo-audio-stream@1.9.2
@@ -28,6 +28,7 @@ import android.media.AudioAttributes
28
28
  import android.media.AudioFocusRequest
29
29
  import android.telephony.PhoneStateListener
30
30
  import android.telephony.TelephonyManager
31
+ import android.app.ActivityManager
31
32
 
32
33
  class AudioRecorderManager(
33
34
  private val context: Context,
@@ -137,6 +138,11 @@ class AudioRecorderManager(
137
138
  ).also { instance = it }
138
139
  }
139
140
  }
141
+
142
+ fun destroy() {
143
+ instance?.cleanup()
144
+ instance = null
145
+ }
140
146
  }
141
147
 
142
148
  @RequiresApi(Build.VERSION_CODES.R)
@@ -641,15 +647,28 @@ class AudioRecorderManager(
641
647
 
642
648
  fun getStatus(): Bundle {
643
649
  synchronized(audioRecordLock) {
650
+ // Check if service is actually running
651
+ val isServiceRunning = context.let { ctx ->
652
+ val manager = ctx.getSystemService(Context.ACTIVITY_SERVICE) as? ActivityManager
653
+ manager?.getRunningServices(Integer.MAX_VALUE)
654
+ ?.any { it.service.className == AudioRecordingService::class.java.name }
655
+ } ?: false
656
+
657
+ // If service is running but we think we're not recording, clean up
658
+ if (isServiceRunning && !isRecording.get()) {
659
+ Log.d(Constants.TAG, "Detected orphaned recording service, cleaning up...")
660
+ cleanup()
661
+ AudioRecordingService.stopService(context)
662
+ }
663
+
644
664
  if (!isRecording.get()) {
645
665
  Log.d(Constants.TAG, "Not recording --- skip status with default values")
646
-
647
666
  return bundleOf(
648
667
  "isRecording" to false,
649
668
  "isPaused" to false,
650
669
  "mime" to mimeType,
651
670
  "size" to 0,
652
- "interval" to recordingConfig.interval,
671
+ "interval" to (recordingConfig?.interval ?: 0)
653
672
  )
654
673
  }
655
674
 
@@ -916,27 +935,51 @@ class AudioRecorderManager(
916
935
  isFirstChunk = false
917
936
  }
918
937
 
919
- private fun cleanup() {
920
- try {
921
- if (recordingConfig.showNotification) {
922
- notificationManager.stopUpdates()
923
- AudioRecordingService.stopService(context)
924
- }
938
+ fun cleanup() {
939
+ synchronized(audioRecordLock) {
940
+ try {
941
+ if (isRecording.get()) {
942
+ audioRecord?.stop()
943
+ compressedRecorder?.stop()
944
+ compressedRecorder?.release()
945
+ }
946
+
947
+ isRecording.set(false)
948
+ isPaused.set(false)
949
+
950
+ if (recordingConfig.showNotification) {
951
+ notificationManager.stopUpdates()
952
+ AudioRecordingService.stopService(context)
953
+ }
925
954
 
926
- // Reset all states
927
- isRecording.set(false)
928
- isPaused.set(false)
929
- totalRecordedTime = 0
930
- pausedDuration = 0
931
- lastEmittedSize = 0
932
- recordingStartTime = 0
933
- } catch (e: Exception) {
934
- Log.e(Constants.TAG, "Error in cleanup", e)
935
- } finally {
936
- releaseWakeLock()
955
+ releaseWakeLock()
956
+ releaseAudioFocus()
957
+ audioRecord?.release()
958
+ audioRecord = null
959
+
960
+ // Reset all state
961
+ totalRecordedTime = 0
962
+ pausedDuration = 0
963
+ lastEmittedSize = 0
964
+ recordingStartTime = 0
965
+
966
+ // Update the WAV header if needed
967
+ audioFile?.let { file ->
968
+ audioFileHandler.updateWavHeader(file)
969
+ }
970
+
971
+ // Send event to notify that recording was stopped
972
+ eventSender.sendExpoEvent(Constants.RECORDING_INTERRUPTED_EVENT_NAME, bundleOf(
973
+ "reason" to "appKilled",
974
+ "isPaused" to false
975
+ ))
976
+ } catch (e: Exception) {
977
+ Log.e(Constants.TAG, "Error during cleanup", e)
978
+ }
937
979
  }
938
980
  }
939
981
 
982
+ @RequiresApi(Build.VERSION_CODES.Q)
940
983
  private fun initializeCompressedRecorder(fileExtension: String, promise: Promise): Boolean {
941
984
  try {
942
985
  // Use the existing audioFileHandler instance
@@ -8,6 +8,7 @@ import android.os.IBinder
8
8
  import android.util.Log
9
9
  import android.os.Handler
10
10
  import android.os.Looper
11
+ import expo.modules.kotlin.Promise
11
12
 
12
13
  class AudioRecordingService : Service() {
13
14
  private val notificationManager by lazy {
@@ -43,17 +44,46 @@ class AudioRecordingService : Service() {
43
44
  override fun onDestroy() {
44
45
  Log.d(Constants.TAG, "AudioRecordingService onDestroy")
45
46
 
46
- if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {
47
- stopForeground(STOP_FOREGROUND_REMOVE)
48
- } else {
49
- @Suppress("DEPRECATION")
50
- stopForeground(true)
51
- }
47
+ stopForeground(STOP_FOREGROUND_REMOVE)
52
48
 
53
49
  isRunning = false
54
50
  super.onDestroy()
55
51
  }
56
52
 
53
+ override fun onTaskRemoved(rootIntent: Intent?) {
54
+ super.onTaskRemoved(rootIntent)
55
+ Log.d(Constants.TAG, "AudioRecordingService onTaskRemoved")
56
+
57
+ // Stop recording when app is killed
58
+ AudioRecorderManager.getInstance()?.let { manager ->
59
+ mainHandler.post {
60
+ // Create a simple promise object for internal use
61
+ val promise = object : Promise {
62
+ override fun resolve(value: Any?) {
63
+ Log.d(Constants.TAG, "Successfully stopped recording on task removed")
64
+ cleanup()
65
+ }
66
+ override fun reject(code: String, message: String?, cause: Throwable?) {
67
+ Log.e(Constants.TAG, "Failed to stop recording on task removed: $message")
68
+ cleanup()
69
+ }
70
+ }
71
+
72
+ try {
73
+ manager.stopRecording(promise)
74
+ } catch (e: Exception) {
75
+ promise.reject("ERROR", e.message, e)
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+
82
+ private fun cleanup() {
83
+ stopForeground(STOP_FOREGROUND_REMOVE)
84
+ stopSelf()
85
+ }
86
+
57
87
  companion object {
58
88
  fun startService(context: Context) {
59
89
  val serviceIntent = Intent(context, AudioRecordingService::class.java)
@@ -1,6 +1,8 @@
1
1
  package net.siteed.audiostream
2
2
 
3
3
  import android.Manifest
4
+ import android.app.ActivityManager
5
+ import android.content.Context
4
6
  import android.os.Build
5
7
  import android.os.Bundle
6
8
  import android.util.Log
@@ -171,6 +173,29 @@ class ExpoAudioStreamModule : Module(), EventSender {
171
173
  )
172
174
  }
173
175
  }
176
+
177
+ OnDestroy {
178
+ AudioRecorderManager.destroy()
179
+ }
180
+
181
+ // Add a new function to check if recording is actually running
182
+ AsyncFunction("checkRecordingStatus") { promise: Promise ->
183
+ val isServiceRunning = AudioRecordingService::class.java.name.let { className ->
184
+ val manager = appContext.reactContext?.getSystemService(Context.ACTIVITY_SERVICE) as? ActivityManager
185
+ manager?.getRunningServices(Integer.MAX_VALUE)
186
+ ?.any { it.service.className == className }
187
+ } ?: false
188
+
189
+ val status = audioRecorderManager.getStatus()
190
+
191
+ // If service is running but isRecording is false, we need to cleanup
192
+ if (isServiceRunning && !status.getBoolean("isRecording")) {
193
+ audioRecorderManager.cleanup()
194
+ AudioRecordingService.stopService(appContext.reactContext!!)
195
+ }
196
+
197
+ promise.resolve(status)
198
+ }
174
199
  }
175
200
 
176
201
  private fun initializeManager() {
@@ -1 +1 @@
1
- {"version":3,"file":"extractAudioAnalysis.d.ts","sourceRoot":"","sources":["../../src/AudioAnalysis/extractAudioAnalysis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,OAAO,EACH,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACvB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAkB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAGrE,MAAM,WAAW,yBAAyB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,oBAAoB,CAAA;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,MAAM,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,oBAAoB,oKAa9B,yBAAyB,KAAG,OAAO,CAAC,aAAa,CAsGnD,CAAA"}
1
+ {"version":3,"file":"extractAudioAnalysis.d.ts","sourceRoot":"","sources":["../../src/AudioAnalysis/extractAudioAnalysis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,OAAO,EACH,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACvB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAkB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAGrE,MAAM,WAAW,yBAAyB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,oBAAoB,CAAA;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,MAAM,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,oBAAoB,oKAa9B,yBAAyB,KAAG,QAAQ,aAAa,CAsGnD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"extractWaveform.d.ts","sourceRoot":"","sources":["../../src/AudioAnalysis/extractWaveform.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB;AACD,eAAO,MAAM,eAAe,kDAKzB,oBAAoB,KAAG,OAAO,CAAC,OAAO,CAQxC,CAAA"}
1
+ {"version":3,"file":"extractWaveform.d.ts","sourceRoot":"","sources":["../../src/AudioAnalysis/extractWaveform.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB;AACD,eAAO,MAAM,eAAe,kDAKzB,oBAAoB,KAAG,QAAQ,OAAO,CAQxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlobFix.d.ts","sourceRoot":"","sources":["../../src/utils/BlobFix.ts"],"names":[],"mappings":"AAugBA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,SAClB,IAAI,YACA,MAAM,oBAEjB,OAAO,CAAC,IAAI,CA4Bd,CAAA"}
1
+ {"version":3,"file":"BlobFix.d.ts","sourceRoot":"","sources":["../../src/utils/BlobFix.ts"],"names":[],"mappings":"AAugBA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,SAClB,IAAI,YACA,MAAM,oBAEjB,QAAQ,IAAI,CA4Bd,CAAA"}
@@ -3,8 +3,8 @@ export declare const WAV_HEADER_SIZE = 44;
3
3
  export declare const convertPCMToFloat32: ({ bitDepth, buffer, skipWavHeader, logger, }: {
4
4
  buffer: ArrayBuffer;
5
5
  bitDepth: number;
6
- skipWavHeader?: boolean;
7
- logger?: ConsoleLike;
6
+ skipWavHeader?: boolean | undefined;
7
+ logger?: ConsoleLike | undefined;
8
8
  }) => Promise<{
9
9
  pcmValues: Float32Array;
10
10
  min: number;
@@ -1 +1 @@
1
- {"version":3,"file":"convertPCMToFloat32.d.ts","sourceRoot":"","sources":["../../src/utils/convertPCMToFloat32.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,eAAO,MAAM,eAAe,KAAK,CAAA;AA+DjC,eAAO,MAAM,mBAAmB,iDAK7B;IACC,MAAM,EAAE,WAAW,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,MAAM,CAAC,EAAE,WAAW,CAAA;CACvB,KAAG,OAAO,CAAC;IAAE,SAAS,EAAE,YAAY,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CA2FhE,CAAA"}
1
+ {"version":3,"file":"convertPCMToFloat32.d.ts","sourceRoot":"","sources":["../../src/utils/convertPCMToFloat32.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,eAAO,MAAM,eAAe,KAAK,CAAA;AA+DjC,eAAO,MAAM,mBAAmB;YAMpB,WAAW;cACT,MAAM;;;MAGhB,QAAQ;IAAE,SAAS,EAAE,YAAY,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CA2FhE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"encodingToBitDepth.d.ts","sourceRoot":"","sources":["../../src/utils/encodingToBitDepth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,kBAAkB,kBAE5B;IACC,QAAQ,EAAE,YAAY,CAAA;CACzB,KAAG,QAWH,CAAA"}
1
+ {"version":3,"file":"encodingToBitDepth.d.ts","sourceRoot":"","sources":["../../src/utils/encodingToBitDepth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,kBAAkB;cAGjB,YAAY;MACtB,QAWH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getWavFileInfo.d.ts","sourceRoot":"","sources":["../../src/utils/getWavFileInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAoB/D;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,QAAQ,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,gBACV,WAAW,KACzB,OAAO,CAAC,WAAW,CAmFrB,CAAA"}
1
+ {"version":3,"file":"getWavFileInfo.d.ts","sourceRoot":"","sources":["../../src/utils/getWavFileInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAoB/D;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,QAAQ,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,gBACV,WAAW,KACzB,QAAQ,WAAW,CAmFrB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siteed/expo-audio-stream",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "stream audio crossplatform",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",