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
6be879c2
authored
Sep 14, 2020
by
olly
Committed by
Oliver Woodman
Sep 16, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clean up experimental offload Javadoc
PiperOrigin-RevId: 331591005
parent
7c877911
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
View file @
6be879c2
...
@@ -16,11 +16,13 @@
...
@@ -16,11 +16,13 @@
package
com
.
google
.
android
.
exoplayer2
;
package
com
.
google
.
android
.
exoplayer2
;
import
android.content.Context
;
import
android.content.Context
;
import
android.media.AudioTrack
;
import
android.os.Looper
;
import
android.os.Looper
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.VisibleForTesting
;
import
androidx.annotation.VisibleForTesting
;
import
com.google.android.exoplayer2.analytics.AnalyticsCollector
;
import
com.google.android.exoplayer2.analytics.AnalyticsCollector
;
import
com.google.android.exoplayer2.audio.AudioCapabilities
;
import
com.google.android.exoplayer2.audio.AudioCapabilities
;
import
com.google.android.exoplayer2.audio.AudioSink
;
import
com.google.android.exoplayer2.audio.DefaultAudioSink
;
import
com.google.android.exoplayer2.audio.DefaultAudioSink
;
import
com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
;
import
com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
;
import
com.google.android.exoplayer2.metadata.MetadataRenderer
;
import
com.google.android.exoplayer2.metadata.MetadataRenderer
;
...
@@ -622,14 +624,13 @@ public interface ExoPlayer extends Player {
...
@@ -622,14 +624,13 @@ public interface ExoPlayer extends Player {
* the following:
* the following:
*
*
* <ul>
* <ul>
* <li>
a
udio offload rendering is enabled in {@link
* <li>
A
udio offload rendering is enabled in {@link
* DefaultRenderersFactory#setEnableAudioOffload} or the equivalent option passed to {@link
* DefaultRenderersFactory#setEnableAudioOffload} or the equivalent option passed to {@link
*
com.google.android.exoplayer2.audio.
DefaultAudioSink#DefaultAudioSink(AudioCapabilities,
* DefaultAudioSink#DefaultAudioSink(AudioCapabilities,
* DefaultAudioSink.AudioProcessorChain, boolean, boolean, boolean)}.
* DefaultAudioSink.AudioProcessorChain, boolean, boolean, boolean)}.
* <li>
an audio track is playing in a format which
the device supports offloading (for example,
* <li>
An audio track is playing in a format that
the device supports offloading (for example,
* MP3 or AAC).
* MP3 or AAC).
* <li>The {@link com.google.android.exoplayer2.audio.AudioSink} is playing with an offload
* <li>The {@link AudioSink} is playing with an offload {@link AudioTrack}.
* {@link android.media.AudioTrack}.
* </ul>
* </ul>
*
*
* <p>This method is experimental, and will be renamed or removed in a future release.
* <p>This method is experimental, and will be renamed or removed in a future release.
...
...
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