mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-16 21:40:23 +00:00
Support 20 ms audio frames
This commit is contained in:
@@ -84,9 +84,9 @@ public class MoonBridge {
|
||||
}
|
||||
}
|
||||
|
||||
public static int bridgeArInit(int audioConfiguration) {
|
||||
public static int bridgeArInit(int audioConfiguration, int sampleRate, int samplesPerFrame) {
|
||||
if (audioRenderer != null) {
|
||||
return audioRenderer.setup(audioConfiguration);
|
||||
return audioRenderer.setup(audioConfiguration, sampleRate, samplesPerFrame);
|
||||
}
|
||||
else {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user