Commit 3eac5b43 by gyumin Committed by Christos Tsilopoulos

Move AudioAttributes to common module

PiperOrigin-RevId: 317864048
parent 9d8f54ab
/* /*
* 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -21,14 +21,14 @@ import com.google.android.exoplayer2.C; ...@@ -21,14 +21,14 @@ import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.util.Util; import com.google.android.exoplayer2.util.Util;
/** /**
* Attributes for audio playback, which configure the underlying platform * Attributes for audio playback, which configure the underlying platform {@link
* {@link android.media.AudioTrack}. * android.media.AudioTrack}.
* <p> *
* To set the audio attributes, create an instance using the {@link Builder} and either pass it to * <p>To set the audio attributes, create an instance using the {@link Builder} and either pass it
* {@link com.google.android.exoplayer2.SimpleExoPlayer#setAudioAttributes(AudioAttributes)} or * to the player or send a message of type {@link C#MSG_SET_AUDIO_ATTRIBUTES} to the audio
* send a message of type {@link C#MSG_SET_AUDIO_ATTRIBUTES} to the audio renderers. * renderers.
* <p> *
* This class is based on {@link android.media.AudioAttributes}, but can be used on all supported * <p>This class is based on {@link android.media.AudioAttributes}, but can be used on all supported
* API versions. * API versions.
*/ */
public final class AudioAttributes { public final class AudioAttributes {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment