|
|
|
@ -74,7 +74,7 @@ public class ExoUtil { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static RenderersFactory buildRenderersFactory() { |
|
|
|
public static RenderersFactory buildRenderersFactory() { |
|
|
|
return new DefaultRenderersFactory(App.get()).setEnableDecoderFallback(true).setExtensionRendererMode(Math.abs(Setting.getDecode() - 2)); |
|
|
|
return new DefaultRenderersFactory(App.get()).setEnableDecoderFallback(true).setEnableAudioTrackPlaybackParams(true).setEnableAudioFloatOutput(true).setExtensionRendererMode(Math.abs(Setting.getDecode() - 2)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static CaptionStyleCompat getCaptionStyle() { |
|
|
|
public static CaptionStyleCompat getCaptionStyle() { |
|
|
|
|