mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue