setPlayerUseOpenSLES method

void setPlayerUseOpenSLES(
  1. {required bool value}
)

Set whether or not the player should use hardware acceleration.

Implementation

void setPlayerUseOpenSLES({required bool value}) async {
  await _preferences.put('player_use_opensles', value);
}