Skip to content

Commit

Permalink
fixed bug related to audio offload mode
Browse files Browse the repository at this point in the history
  • Loading branch information
XilinJia committed Feb 20, 2024
1 parent bc1b758 commit 824893c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class ExoPlayerWrapper internal constructor(private val context: Context) {
val audioOffloadPreferences = AudioOffloadPreferences.Builder()
.setAudioOffloadMode(AudioOffloadPreferences.AUDIO_OFFLOAD_MODE_ENABLED) // Add additional options as needed
.setIsGaplessSupportRequired(true)
.setIsSpeedChangeSupportRequired(true)
.build()
exoPlayer = ExoPlayer.Builder(context, DefaultRenderersFactory(context))
.setTrackSelector(trackSelector)
Expand Down

0 comments on commit 824893c

Please sign in to comment.