From 3eac5b4328d83d3ec78dc7706e89032b972cce2a Mon Sep 17 00:00:00 2001 From: gyumin Date: Tue, 23 Jun 2020 15:49:56 +0100 Subject: [PATCH] Move AudioAttributes to common module PiperOrigin-RevId: 317864048 --- .../exoplayer2/audio/AudioAttributes.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename library/{core => common}/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java (90%) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java b/library/common/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java similarity index 90% rename from library/core/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java rename to library/common/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java index 53eed6c551..a35383ec92 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 The Android Open Source Project + * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,14 +21,14 @@ import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.util.Util; /** - * Attributes for audio playback, which configure the underlying platform - * {@link android.media.AudioTrack}. - *

- * To set the audio attributes, create an instance using the {@link Builder} and either pass it to - * {@link com.google.android.exoplayer2.SimpleExoPlayer#setAudioAttributes(AudioAttributes)} or - * send a message of type {@link C#MSG_SET_AUDIO_ATTRIBUTES} to the audio renderers. - *

- * This class is based on {@link android.media.AudioAttributes}, but can be used on all supported + * Attributes for audio playback, which configure the underlying platform {@link + * android.media.AudioTrack}. + * + *

To set the audio attributes, create an instance using the {@link Builder} and either pass it + * to the player or send a message of type {@link C#MSG_SET_AUDIO_ATTRIBUTES} to the audio + * renderers. + * + *

This class is based on {@link android.media.AudioAttributes}, but can be used on all supported * API versions. */ public final class AudioAttributes {