File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ import com.facebook.react.bridge.Promise
4
4
import com.facebook.react.bridge.ReactApplicationContext
5
5
import com.facebook.react.bridge.ReactContextBaseJavaModule
6
6
import com.facebook.react.bridge.ReadableArray
7
+ import com.facebook.react.bridge.ReadableMap
7
8
import com.facebook.react.bridge.WritableMap
8
9
9
10
10
11
abstract class AudioPlaybackSpec internal constructor(context : ReactApplicationContext ) :
11
12
ReactContextBaseJavaModule (context) {
12
13
13
- abstract fun setupAudioStream (sampleRate : Double , channelCount : Double ): WritableMap
14
+ abstract fun setupAudioStream (options : ReadableMap ): WritableMap
14
15
15
16
abstract fun openAudioStream (): WritableMap
16
17
@@ -29,4 +30,6 @@ abstract class AudioPlaybackSpec internal constructor(context: ReactApplicationC
29
30
abstract fun unloadSound (id : String )
30
31
31
32
abstract fun loadSound (uri : String , promise : Promise )
33
+
34
+ abstract fun getStreamState (): Double
32
35
}
You can’t perform that action at this time.
0 commit comments