mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
Don't clear audioSessionId when audio disabled
Issue: #8585 PiperOrigin-RevId: 357553237
This commit is contained in:
parent
0ab9a219f7
commit
5be7d4da9e
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
* Extractors:
|
* Extractors:
|
||||||
* Add support for MP4 and QuickTime meta atoms that are not full atoms.
|
* Add support for MP4 and QuickTime meta atoms that are not full atoms.
|
||||||
|
* Audio:
|
||||||
|
* Fix `SimpleExoPlayer` reporting audio session ID as 0 in some cases
|
||||||
|
([#8585](https://github.com/google/ExoPlayer/issues/8585)).
|
||||||
|
|
||||||
### 2.13.1 (2021-02-12)
|
### 2.13.1 (2021-02-12)
|
||||||
|
|
||||||
|
@ -2140,7 +2140,6 @@ public class SimpleExoPlayer extends BasePlayer
|
|||||||
analyticsCollector.onAudioDisabled(counters);
|
analyticsCollector.onAudioDisabled(counters);
|
||||||
audioFormat = null;
|
audioFormat = null;
|
||||||
audioDecoderCounters = null;
|
audioDecoderCounters = null;
|
||||||
audioSessionId = C.AUDIO_SESSION_ID_UNSET;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user