Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3eac5b43
authored
Jun 23, 2020
by
gyumin
Committed by
Christos Tsilopoulos
Jun 26, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Move AudioAttributes to common module
PiperOrigin-RevId: 317864048
parent
9d8f54ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
library/core/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java → library/common/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java
library/co
re
/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java
→
library/co
mmon
/src/main/java/com/google/android/exoplayer2/audio/AudioAttributes.java
View file @
3eac5b43
/*
* 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}.
*
<p>
*
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.
*
<p>
* 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}.
*
*
<p>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.
*
*
<p>
This class is based on {@link android.media.AudioAttributes}, but can be used on all supported
* API versions.
*/
public
final
class
AudioAttributes
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment