Skip to content

Commit 17cebc5

Browse files
fix interface issues
1 parent 1e94582 commit 17cebc5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

android/src/main/java/expo/modules/audiostream/core/AudioInterfaces.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ interface AudioPlaybackManaging {
3434
fun clearPlaybackQueueByTurnId(turnId: String, promise: Promise)
3535
fun pausePlayback(promise: Promise?)
3636
fun stopPlayback(promise: Promise?)
37+
fun flushAudio(promise: Promise?)
3738
fun isPlaying(): Boolean
3839
fun updateConfig(config: SoundConfig, promise: Promise)
3940
fun resetConfigToDefault(promise: Promise)

ios/AudioProtocols.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ protocol SoundPlayerManaging: AnyObject {
3636
func updateConfig(_ newConfig: SoundConfig) throws
3737
func resetConfigToDefault() throws
3838
func stop(_ promise: Promise)
39+
func flushAudio(_ promise: Promise)
3940
func interrupt(_ promise: Promise)
4041
func resume()
4142
func clearSoundQueue(turnIdToClear turnId: String, resolver promise: Promise)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "expo-streamer",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Realtime Audio Streaming for Expo",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)