Repository: AntennaPod/AntennaPod (language: java)

Issue:
Media wont play in Version 3.2.0 (3020095)
### Checklist

- [X] I have used the search function for [**OPEN**](https://github.com/AntennaPod/AntennaPod/issues) issues to see if someone else has already submitted the same bug report.
- [X] I have **also** used the search function for [**CLOSED**](https://github.com/AntennaPod/AntennaPod/issues?q=is%3Aissue+is%3Aclosed) issues to see if the problem is already solved and just waiting to be released.
- [X] I will describe the problem with as much detail as possible.
- [X] If the bug only to occurs with a certain podcast, I will include the URL of that podcast.

### App version

3.2.0

### Where did you get the app from

F-Droid

### Android version

13 PixelExperience_topaz-13.0-20230714-1432-UNOFFICIAL

### Device model

Remi Note 12 4G

### First occurred

about a week ago

### Steps to reproduce

install version 3.2.0

### Expected behaviour

media should play

### Current behaviour

media does not play neither downloaded nor stream, the player doesn't come up when clicking play. it works perfectly in 3.1.2 and below.

### Logs

I already downgraded back to 3.1.2 so I can't export the logs but I have this from logfox:

```
1702289036.344 10231  8418  8418 D ExternalPlayerFragment: Loading media info
1702289036.348 10231  8418  8418 D QueueFragment: loadItems()
1702289036.348 10231  8418 12216 D DBReader: getQueue() called
1702289036.348 10231  8418 12216 D DBReader: getQueue()
1702289036.350 10231  8418 12216 D DBReader: getFavoriteIDList() called
1702289036.351 10231  8418 12216 D DBReader: getQueueIDList() called
1702289036.352 10231  8418 12216 D DBReader: Extracting Feedlist
1702289036.352 10231  8418  8418 D MainActivity: handleNavIntent()
1702289036.352 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.353 10231  8418 12383 D DBReader: getNavDrawerData() called with:
1702289036.363 10231  8418  9893 E OpenGLRenderer: Unable to match the desired swap behavior.
1702289036.410 10231  8418 12383 D DBReader: getRecentlyPublishedEpisodes() called with: offset=0, limit=2147483647
1702289036.549 10231  8418 12383 D DBReader: getFavoriteIDList() called
1702289036.550 10231  8418 12383 D DBReader: getQueueIDList() called
1702289036.551 10231  8418 12383 D DBReader: Extracting Feedlist
1702289036.559 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.560 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.560 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.560 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.561 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.561 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.561 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289036.562 10231  8418  8418 D NavDrawerFragment: getLastNavFragment() -> QueueFragment
1702289037.765 10231  8418  8418 D PlaybackService: Service created.
1702289037.774 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289037.776 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289037.778 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289037.779 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289037.779 10231  8418  8418 D ExternalPlayerFragment: Loading media info
1702289037.779 10231  8418  8418 D PlaybackService: OnStartCommand called
1702289037.780 10231  8418  8418 D PlaybackSrvState: startForeground
1702289037.783 10231  8418  8418 D PlaybackService: Received onBind event
1702289037.783 10231  8418 12383 D DBReader: getFeedItem() called with: itemId = [1570]
1702289037.783 10231  8418 12383 D DBReader: Loading feeditem with id 1570
1702289037.783 10231  8418 12383 D DBReader: getFavoriteIDList() called
1702289037.784 10231  8418 12383 D DBReader: getQueueIDList() called
1702289037.784 10231  8418 12383 D DBReader: Extracting Feedlist
1702289037.785 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289037.786 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289037.786 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289037.787 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289037.787 10231  8418  8418 D PlaybackController: Querying service info
1702289037.787 10231  8418  8418 D PlaybackController: status: STOPPED
1702289037.787 10231  8418  8418 D PlaybackController: Connection to Service established
1702289037.787 10231  8418  8418 D PlaybackController: Querying service info
1702289037.787 10231  8418  8418 D PlaybackController: status: STOPPED
1702289037.787 10231  8418  8418 D ExternalPlayerFragment: Loading media info
1702289037.787 10231  8418  8418 D PlaybackController: Connection to Service established
1702289037.795 10231  8418  8418 D LclPlaybackSvcMPlayer: playMediaObject(...)
1702289037.808 10231  8418  8418 I ExoPlayerImpl: Init 4a66ac [ExoPlayerLib/2.14.2] [tapas, 23021RAAEG, Xiaomi, 33]
1702289037.813 10231  8418  8418 E AudioEffect: set(): AudioFlinger could not create effect fe3199be-aed0-413f-87bb-11260eb63cf1 / ec7178ec-e5e1-4432-a3f4-4657e6795210, status: -2
1702289037.813 10231  8418  8418 E AudioEffects-JNI: AudioEffect initCheck failed -3
1702289037.813 10231  8418  8418 E AudioEffect-JAVA: Error code -3 when initializing AudioEffect.
1702289037.813 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289037.813 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289037.813 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289037.813 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289037.814 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289037.814 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289037.814 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289037.814 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289037.814 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289037.814 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289037.814 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289037.814 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289037.814 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289037.814 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289037.814 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289037.814 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289037.814 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289037.814 10231  8418  8418 D PlaybackService: Playable was not found. Stopping service.
1702289037.814 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289037.814 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289037.814 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289037.814 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289037.814 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289037.814 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289037.815 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289037.815 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289037.815 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289037.815 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289037.815 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289037.815 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289037.815 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289037.815 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289037.815 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289037.815 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289037.815 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289037.815 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289037.815 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289037.815 10231  8418  8418 D PlaybackSrvState: stopService
1702289037.815 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289037.821 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289037.821 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289037.821 10231  8418  8418 D PlaybackService: Received onUnbind event
1702289037.821 10231  8418  8418 D PlaybackService: Service is about to be destroyed
1702289037.821 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289039.176 10231  8418  8418 D PlaybackService: Service created.
1702289039.188 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289039.189 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289039.189 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289039.190 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289039.190 10231  8418  8418 D PlaybackService: OnStartCommand called
1702289039.191 10231  8418  8418 D PlaybackSrvState: startForeground
1702289039.194 10231  8418  8418 D PlaybackService: Received onBind event
1702289039.200 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289039.201 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289039.201 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289039.202 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289039.202 10231  8418  8418 D PlaybackController: Querying service info
1702289039.202 10231  8418  8418 D PlaybackController: status: STOPPED
1702289039.202 10231  8418  8418 D PlaybackController: Connection to Service established
1702289039.202 10231  8418  8418 D PlaybackController: Querying service info
1702289039.202 10231  8418  8418 D PlaybackController: status: STOPPED
1702289039.202 10231  8418  8418 D ExternalPlayerFragment: Loading media info
1702289039.202 10231  8418 12230 D DBReader: getFeedItem() called with: itemId = [1570]
1702289039.202 10231  8418  8418 D PlaybackController: Connection to Service established
1702289039.202 10231  8418 12230 D DBReader: Loading feeditem with id 1570
1702289039.203 10231  8418 12230 D DBReader: getFavoriteIDList() called
1702289039.204 10231  8418 12230 D DBReader: getQueueIDList() called
1702289039.204 10231  8418 12230 D DBReader: Extracting Feedlist
1702289039.215 10231  8418  8418 D LclPlaybackSvcMPlayer: playMediaObject(...)
1702289039.219 10231  8418  8418 I ExoPlayerImpl: Init c5ceaba [ExoPlayerLib/2.14.2] [tapas, 23021RAAEG, Xiaomi, 33]
1702289039.223 10231  8418  8418 E AudioEffect: set(): AudioFlinger could not create effect fe3199be-aed0-413f-87bb-11260eb63cf1 / ec7178ec-e5e1-4432-a3f4-4657e6795210, status: -2
1702289039.224 10231  8418  8418 E AudioEffects-JNI: AudioEffect initCheck failed -3
1702289039.224 10231  8418  8418 E AudioEffect-JAVA: Error code -3 when initializing AudioEffect.
1702289039.224 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289039.224 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289039.224 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289039.224 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289039.224 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289039.224 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289039.224 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289039.224 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289039.224 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289039.224 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289039.224 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289039.224 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289039.224 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289039.224 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289039.224 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289039.224 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289039.224 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289039.224 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289039.224 10231  8418  8418 D PlaybackService: Playable was not found. Stopping service.
1702289039.225 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289039.225 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289039.225 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289039.225 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289039.225 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289039.225 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289039.225 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289039.225 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289039.225 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289039.225 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289039.225 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289039.225 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289039.225 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289039.225 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289039.225 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289039.225 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289039.225 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289039.225 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289039.225 10231  8418  8418 D PlaybackSrvState: stopService
1702289039.225 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289039.227 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289039.227 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289039.227 10231  8418  8418 D PlaybackService: Received onUnbind event
1702289039.228 10231  8418  8418 D PlaybackService: Service is about to be destroyed
1702289039.228 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289040.348 10231  8418  8418 D PlaybackService: Service created.
1702289040.362 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289040.363 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289040.363 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289040.364 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289040.365 10231  8418  8418 D PlaybackService: OnStartCommand called
1702289040.365 10231  8418  8418 D PlaybackSrvState: startForeground
1702289040.368 10231  8418 12216 D DBReader: getFeedItem() called with: itemId = [1570]
1702289040.368 10231  8418 12216 D DBReader: Loading feeditem with id 1570
1702289040.369 10231  8418  8418 D PlaybackService: Received onBind event
1702289040.370 10231  8418 12216 D DBReader: getFavoriteIDList() called
1702289040.371 10231  8418 12216 D DBReader: getQueueIDList() called
1702289040.371 10231  8418 12216 D DBReader: Extracting Feedlist
1702289040.376 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289040.378 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289040.378 10231  8418  8418 D PlaybackController: Querying service info
1702289040.378 10231  8418  8418 D PlaybackController: status: STOPPED
1702289040.378 10231  8418  8418 D PlaybackController: Connection to Service established
1702289040.378 10231  8418  8418 D PlaybackController: Trying to connect to service
1702289040.379 10231  8418  8418 D PlaybackController: Result for service binding: true
1702289040.379 10231  8418  8418 D PlaybackController: Querying service info
1702289040.380 10231  8418  8418 D PlaybackController: status: STOPPED
1702289040.380 10231  8418  8418 D ExternalPlayerFragment: Loading media info
1702289040.380 10231  8418  8418 D PlaybackController: Connection to Service established
1702289040.380 10231  8418  8418 D LclPlaybackSvcMPlayer: playMediaObject(...)
1702289040.390 10231  8418  8418 I ExoPlayerImpl: Init c03e75b [ExoPlayerLib/2.14.2] [tapas, 23021RAAEG, Xiaomi, 33]
1702289040.394 10231  8418  8418 E AudioEffect: set(): AudioFlinger could not create effect fe3199be-aed0-413f-87bb-11260eb63cf1 / ec7178ec-e5e1-4432-a3f4-4657e6795210, status: -2
1702289040.394 10231  8418  8418 E AudioEffects-JNI: AudioEffect initCheck failed -3
1702289040.394 10231  8418  8418 E AudioEffect-JAVA: Error code -3 when initializing AudioEffect.
1702289040.394 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289040.394 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289040.394 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289040.394 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289040.394 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289040.394 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289040.395 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289040.395 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289040.395 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289040.395 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289040.395 10231  8418  8418 D PlaybackService: Playable was not found. Stopping service.
1702289040.395 10231  8418  8418 W System.err: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3
1702289040.395 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:543)
1702289040.395 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:501)
1702289040.395 10231  8418  8418 W System.err: 	at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:475)
1702289040.395 10231  8418  8418 W System.err: 	at android.media.audiofx.LoudnessEnhancer.<init>(LoudnessEnhancer.java:80)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.initLoudnessEnhancer(ExoPlayerWrapper.java:357)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.createPlayer(ExoPlayerWrapper.java:146)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.ExoPlayerWrapper.<init>(ExoPlayerWrapper.java:76)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.createMediaPlayer(LocalPSMP.java:587)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:158)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.LocalPSMP.playMediaObject(LocalPSMP.java:113)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.startPlaying(PlaybackService.java:741)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$onStartCommand$6(PlaybackService.java:526)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$mOCf9qqsskaQGmxsaI_m2ZmJO2w(PlaybackService.java:0)
1702289040.395 10231  8418  8418 W System.err: 	at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda6.accept(R8$$SyntheticClass:0)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
1702289040.395 10231  8418  8418 W System.err: 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Handler.handleCallback(Handler.java:942)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Looper.loopOnce(Looper.java:201)
1702289040.395 10231  8418  8418 W System.err: 	at android.os.Looper.loop(Looper.java:288)
1702289040.395 10231  8418  8418 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7959)
1702289040.395 10231  8418  8418 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
1702289040.395 10231  8418  8418 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
1702289040.395 10231  8418  8418 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
1702289040.395 10231  8418  8418 D PlaybackSrvState: stopService
1702289040.395 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289040.398 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289040.398 10231  8418  8418 D PlaybackController: Disconnected from Service
1702289040.398 10231  8418  8418 D PlaybackService: Received onUnbind event
1702289040.398 10231  8418  8418 D PlaybackService: Service is about to be destroyed
1702289040.398 10231  8418  8418 D PlaybackSrvState: stopForeground
1702289041.529 10231  8418  8418 D PlaybackController: Releasing PlaybackController
1702289041.533 10231  8418  8418 D PlaybackController: Releasing PlaybackController
```


Discussion hints:
Ping @matejdro
My guess is that this device does not support the audio boost effect?

From what I can read , we can query the effects via `android.media.audiofx.AudioEffect.queryEffects` and if there is not UUID of `android.media.audiofx.AudioEffect#EFFECT_TYPE_LOUDNESS_ENHANCER` in there, disable it in ExoPlayerWrapper and hide setting from settings (or disable it with a note saying "Not supported on your device"?).

It might also be worth try catching the whole thing just in case and log the exceptions somewhere.

I can try doing a PR for this, but I'm not sure if I can do it within couple of days.

Pull request: Check if volume boost effect is supported on the device
This is an attempt to fix #6802. I have no idea if it works (I cannot reproduce the issue on my device).

Test command: ./gradlew :core:testFreeDebugUnitTest --tests "de.danoeh.antennapod.core.feed.VolumeAdaptionSettingTest"

Fix patch:
diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/VolumeAdaptationPreference.java b/app/src/main/java/de/danoeh/antennapod/preferences/VolumeAdaptationPreference.java
new file mode 100644
index 00000000000..584b7d90ec5
--- /dev/null
+++ b/app/src/main/java/de/danoeh/antennapod/preferences/VolumeAdaptationPreference.java
@@ -0,0 +1,27 @@
+package de.danoeh.antennapod.preferences;
+
+import android.content.Context;
+import android.util.AttributeSet;
+
+import java.util.Arrays;
+
+import de.danoeh.antennapod.model.feed.VolumeAdaptionSetting;
+
+public class VolumeAdaptationPreference extends MaterialListPreference {
+    public VolumeAdaptationPreference(Context context) {
+        super(context);
+    }
+
+    public VolumeAdaptationPreference(Context context, AttributeSet attrs) {
+        super(context, attrs);
+    }
+
+    @Override
+    public CharSequence[] getEntries() {
+        if (VolumeAdaptionSetting.isBoostSupported()) {
+            return super.getEntries();
+        } else {
+            return Arrays.copyOfRange(super.getEntries(), 0, 3);
+        }
+    }
+}
diff --git a/app/src/main/res/xml/feed_settings.xml b/app/src/main/res/xml/feed_settings.xml
index fb9e2e42544..b322217ad89 100644
--- a/app/src/main/res/xml/feed_settings.xml
+++ b/app/src/main/res/xml/feed_settings.xml
@@ -48,7 +48,7 @@
         android:summary="@string/global_default"
         android:title="@string/auto_delete_label" />
 
-    <de.danoeh.antennapod.preferences.MaterialListPreference
+    <de.danoeh.antennapod.preferences.VolumeAdaptationPreference
         android:defaultValue="off"
         android:entries="@array/spnVolumeAdaptationItems"
         android:entryValues="@array/spnVolumeAdaptationValues"
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java
index 79cd97fd283..1900ed7f233 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/ExoPlayerWrapper.java
@@ -7,6 +7,7 @@
 import android.util.Log;
 import android.view.SurfaceHolder;
 import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
 import androidx.core.util.Consumer;
 import com.google.android.exoplayer2.C;
 import com.google.android.exoplayer2.DefaultLoadControl;
@@ -37,6 +38,7 @@
 import com.google.android.exoplayer2.upstream.HttpDataSource;
 import de.danoeh.antennapod.core.ClientConfig;
 import de.danoeh.antennapod.core.R;
+import de.danoeh.antennapod.model.feed.VolumeAdaptionSetting;
 import de.danoeh.antennapod.storage.preferences.UserPreferences;
 import de.danoeh.antennapod.core.service.download.AntennapodHttpClient;
 import de.danoeh.antennapod.core.service.download.HttpCredentialEncoder;
@@ -69,7 +71,8 @@ public class ExoPlayerWrapper {
     private PlaybackParameters playbackParameters;
     private DefaultTrackSelector trackSelector;
 
-    private LoudnessEnhancer loudnessEnhancer;
+    @Nullable
+    private LoudnessEnhancer loudnessEnhancer = null;
 
     ExoPlayerWrapper(Context context) {
         this.context = context;
@@ -247,11 +250,15 @@ public void setPlaybackParams(float speed, boolean skipSilence) {
     public void setVolume(float v, float v1) {
         if (v > 1) {
             exoPlayer.setVolume(1f);
-            loudnessEnhancer.setEnabled(true);
-            loudnessEnhancer.setTargetGain((int) (1000 * (v - 1)));
+            if (loudnessEnhancer != null) {
+                loudnessEnhancer.setEnabled(true);
+                loudnessEnhancer.setTargetGain((int) (1000 * (v - 1)));
+            }
         } else {
             exoPlayer.setVolume(v);
-            loudnessEnhancer.setEnabled(false);
+            if (loudnessEnhancer != null) {
+                loudnessEnhancer.setEnabled(false);
+            }
         }
     }
 
@@ -354,6 +361,10 @@ void setOnBufferingUpdateListener(Consumer<Integer> bufferingUpdateListener) {
     }
 
     private void initLoudnessEnhancer(int audioStreamId) {
+        if (!VolumeAdaptionSetting.isBoostSupported()) {
+            return;
+        }
+
         LoudnessEnhancer newEnhancer = new LoudnessEnhancer(audioStreamId);
         LoudnessEnhancer oldEnhancer = this.loudnessEnhancer;
         if (oldEnhancer != null) {
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java b/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
index e71c5ad3634..a9b1089f2b0 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/feed/VolumeAdaptionSetting.java
@@ -1,5 +1,10 @@
 package de.danoeh.antennapod.model.feed;
 
+import android.media.audiofx.AudioEffect;
+
+import androidx.annotation.Nullable;
+import androidx.annotation.VisibleForTesting;
+
 public enum VolumeAdaptionSetting {
     OFF(0, 1.0f),
     LIGHT_REDUCTION(1, 0.5f),
@@ -32,4 +37,29 @@ public int toInteger() {
     public float getAdaptionFactor() {
         return adaptionFactor;
     }
+
+    @Nullable
+    private static Boolean boostSupported = null;
+
+    public static boolean isBoostSupported() {
+        if (boostSupported != null) {
+            return boostSupported;
+        }
+        final AudioEffect.Descriptor[] audioEffects = AudioEffect.queryEffects();
+        if (audioEffects != null) {
+            for (AudioEffect.Descriptor effect : audioEffects) {
+                if (effect.type.equals(AudioEffect.EFFECT_TYPE_LOUDNESS_ENHANCER)) {
+                    boostSupported = true;
+                    return boostSupported;
+                }
+            }
+        }
+        boostSupported = false;
+        return boostSupported;
+    }
+
+    @VisibleForTesting
+    public static void setBoostSupported(@Nullable Boolean boostSupported) {
+        VolumeAdaptionSetting.boostSupported = boostSupported;
+    }
 }


Test patch:
diff --git a/core/src/test/java/de/danoeh/antennapod/core/feed/VolumeAdaptionSettingTest.java b/core/src/test/java/de/danoeh/antennapod/core/feed/VolumeAdaptionSettingTest.java
index 30767bdc884..966351a5e45 100644
--- a/core/src/test/java/de/danoeh/antennapod/core/feed/VolumeAdaptionSettingTest.java
+++ b/core/src/test/java/de/danoeh/antennapod/core/feed/VolumeAdaptionSettingTest.java
@@ -1,6 +1,9 @@
 package de.danoeh.antennapod.core.feed;
 
 import de.danoeh.antennapod.model.feed.VolumeAdaptionSetting;
+
+import org.junit.After;
+import org.junit.Before;
 import org.junit.Test;
 
 import static org.hamcrest.Matchers.equalTo;
@@ -11,6 +14,16 @@
 
 public class VolumeAdaptionSettingTest {
 
+    @Before
+    public void setUp() throws Exception {
+        VolumeAdaptionSetting.setBoostSupported(false);
+    }
+
+    @After
+    public void tearDown() throws Exception {
+        VolumeAdaptionSetting.setBoostSupported(null);
+    }
+
     @Test
     public void mapOffToInteger() {
         VolumeAdaptionSetting setting = VolumeAdaptionSetting.OFF;