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
75d370d9
authored
Jan 31, 2022
by
kimvde
Committed by
Ian Baker
Feb 01, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clarify Javadoc of AudioProcessor.queueInput
PiperOrigin-RevId: 425341138
parent
dc83de99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
library/core/src/main/java/com/google/android/exoplayer2/audio/AudioProcessor.java
library/core/src/main/java/com/google/android/exoplayer2/audio/AudioProcessor.java
View file @
75d370d9
...
@@ -102,13 +102,14 @@ public interface AudioProcessor {
...
@@ -102,13 +102,14 @@ public interface AudioProcessor {
boolean
isActive
();
boolean
isActive
();
/**
/**
* Queues audio data between the position and limit of the input {@code buffer} for processing.
* Queues audio data between the position and limit of the {@code inputBuffer} for processing.
* {@code buffer} must be a direct byte buffer with native byte order. Its contents are treated as
* After calling this method, processed output may be available via {@link #getOutput()}. Calling
* read-only. Its position will be advanced by the number of bytes consumed (which may be zero).
* {@code queueInput(ByteBuffer)} again invalidates any pending output.
* The caller retains ownership of the provided buffer. Calling this method invalidates any
* previous buffer returned by {@link #getOutput()}.
*
*
* @param inputBuffer The input buffer to process.
* @param inputBuffer The input buffer to process. It must be a direct byte buffer with native
* byte order. Its contents are treated as read-only. Its position will be advanced by the
* number of bytes consumed (which may be zero). The caller retains ownership of the provided
* buffer.
*/
*/
void
queueInput
(
ByteBuffer
inputBuffer
);
void
queueInput
(
ByteBuffer
inputBuffer
);
...
...
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