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
83192e87
authored
Mar 07, 2023
by
samrobinson
Committed by
Rohit Singh
Mar 07, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix AudioMixer javadoc.
PiperOrigin-RevId: 514699994
parent
3b58a74d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/AudioMixer.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/AudioMixer.java
View file @
83192e87
...
...
@@ -46,7 +46,7 @@ import java.nio.ByteBuffer;
* <p><b>Operation:</b> The mixer must be {@linkplain #configure configured} before any methods are
* called. Once configured, sources can queue audio data via {@link #queueInput} and the mixer will
* consume input audio up to the configured buffer size and end time. Once all sources have produced
* data for a period then {@link getOutput()} will return the mixed result. The cycle repeats until
* data for a period then {@link
#
getOutput()} will return the mixed result. The cycle repeats until
* the mixer {@link #isEnded()}.
*/
public
interface
AudioMixer
{
...
...
@@ -59,12 +59,12 @@ public interface AudioMixer {
* Configures the mixer.
*
* <p>The mixer must be configured before use and can only be reconfigured after a call to {@link
* reset()}.
*
#
reset()}.
*
* <p>The mixing buffer size is set by {@code bufferSizeMs} and indicates how much audio can be
* queued before {@link getOutput()} is called.
* queued before {@link
#
getOutput()} is called.
*
* @param outputAudioFormat The audio format of buffers returned from {@link getOutput()}.
* @param outputAudioFormat The audio format of buffers returned from {@link
#
getOutput()}.
* @param bufferSizeMs The mixing buffer size in milliseconds.
* @param startTimeUs The start time of the mixer output in microseconds.
* @throws UnhandledAudioFormatException If the output audio format is not supported.
...
...
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