Fix AudioMixer javadoc.
PiperOrigin-RevId: 514699994
This commit is contained in:
parent
fe7f3d51df
commit
f07e6b63ea
@ -47,7 +47,7 @@ import java.nio.ByteBuffer;
|
|||||||
* <p><b>Operation:</b> The mixer must be {@linkplain #configure configured} before any methods are
|
* <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
|
* 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
|
* 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()}.
|
* the mixer {@link #isEnded()}.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
@ -61,12 +61,12 @@ public interface AudioMixer {
|
|||||||
* Configures the mixer.
|
* Configures the mixer.
|
||||||
*
|
*
|
||||||
* <p>The mixer must be configured before use and can only be reconfigured after a call to {@link
|
* <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
|
* <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 bufferSizeMs The mixing buffer size in milliseconds.
|
||||||
* @param startTimeUs The start time of the mixer output in microseconds.
|
* @param startTimeUs The start time of the mixer output in microseconds.
|
||||||
* @throws UnhandledAudioFormatException If the output audio format is not supported.
|
* @throws UnhandledAudioFormatException If the output audio format is not supported.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user