File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
android/src/main/java/expo/modules/audiostream/core Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments