Commit f07e6b63 by samrobinson Committed by Rohit Singh

Fix AudioMixer javadoc.

PiperOrigin-RevId: 514699994
parent fe7f3d51
......@@ -47,7 +47,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()}.
*/
@UnstableApi
......@@ -61,12 +61,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.
......
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