Skip to content

Commit

Permalink
Fix AudioMixer javadoc.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 514699994
  • Loading branch information
Samrobbo authored and rohitjoins committed Mar 7, 2023
1 parent fe7f3d5 commit f07e6b6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* <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
Expand All @@ -61,12 +61,12 @@ public static AudioMixer create() {
* 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.
Expand Down

0 comments on commit f07e6b6

Please sign in to comment.