mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-07 00:16:04 +00:00
Rebase of limelight-pc off RenderScript-Renderer and Limelight-common
This commit is contained in:
20
limelight-pc/src/com/limelight/binding/PlatformBinding.java
Normal file
20
limelight-pc/src/com/limelight/binding/PlatformBinding.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.limelight.binding;
|
||||
|
||||
import com.limelight.binding.audio.JavaxAudioRenderer;
|
||||
import com.limelight.binding.video.SwingCpuDecoderRenderer;
|
||||
import com.limelight.nvstream.av.audio.AudioRenderer;
|
||||
import com.limelight.nvstream.av.video.VideoDecoderRenderer;
|
||||
|
||||
public class PlatformBinding {
|
||||
public static VideoDecoderRenderer getVideoDecoderRenderer() {
|
||||
return new SwingCpuDecoderRenderer();
|
||||
}
|
||||
|
||||
public static String getDeviceName() {
|
||||
return "foobar";
|
||||
}
|
||||
|
||||
public static AudioRenderer getAudioRenderer() {
|
||||
return new JavaxAudioRenderer();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user