mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
AudioSink: Remove comment about unconfirmed crash
Consensus is that the NoClassDefFoundError does not causes a crash but only a warning. PiperOrigin-RevId: 338022354
This commit is contained in:
parent
7303005873
commit
e72082710c
@ -1702,9 +1702,9 @@ public final class DefaultAudioSink implements AudioSink {
|
||||
|
||||
public StreamEventCallbackV29() {
|
||||
handler = new Handler();
|
||||
// StreamEventCallbackV29 can NOT inherit directly from AudioTrack.StreamEventCallback as it
|
||||
// would cause a NoClassDefFoundError on the first load of DefaultAudioSink for SDK < 29
|
||||
// fatal on some devices. See: https://github.com/google/ExoPlayer/issues/8058
|
||||
// Avoid StreamEventCallbackV29 inheriting directly from AudioTrack.StreamEventCallback as it
|
||||
// would cause a NoClassDefFoundError warning on load of DefaultAudioSink for SDK < 29.
|
||||
// See: https://github.com/google/ExoPlayer/issues/8058
|
||||
callback =
|
||||
new AudioTrack.StreamEventCallback() {
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user