mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Mark AudioTrackUtilV23 overriding methods with @Override.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=109093558
This commit is contained in:
parent
c685e27972
commit
46481fabcc
1 changed files with 4 additions and 0 deletions
|
|
@ -1201,6 +1201,7 @@ public final class AudioTrack {
|
|||
setPlaybackParameters(playbackParams);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPlaybackParameters(PlaybackParams playbackParams) {
|
||||
this.playbackParams = playbackParams;
|
||||
if (audioTrack != null && playbackParams != null) {
|
||||
|
|
@ -1208,6 +1209,7 @@ public final class AudioTrack {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getPlaybackSpeed() {
|
||||
if (playbackParams != null) {
|
||||
return playbackParams.getSpeed();
|
||||
|
|
@ -1215,5 +1217,7 @@ public final class AudioTrack {
|
|||
return 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue