Commit 0134d7b0 by kimvde Committed by tonihei

Update experimentalSetForceAudioTrack Javadoc to throw

This is consistent with the code behaviour.

PiperOrigin-RevId: 512073465
parent d1f3b81a
...@@ -80,9 +80,12 @@ public final class Composition { ...@@ -80,9 +80,12 @@ public final class Composition {
* <ul> * <ul>
* <li>If {@code false}: * <li>If {@code false}:
* <ul> * <ul>
* <li>If the {@link Composition} export doesn't produce any audio at timestamp 0, the * <li>If the {@link Composition} export doesn't produce any audio at timestamp 0, but
* output won't contain any audio, and audio tracks from the {@link MediaItem} * produces audio later on, the export is {@linkplain
* instances in the {@link Composition} will be ignored. * Transformer.Listener#onError(Composition, ExportResult, ExportException)
* aborted}.
* <li>If the {@link Composition} doesn't produce any audio during the entire export,
* the output won't contain any audio.
* <li>If the {@link Composition} export produces audio at timestamp 0, the output will * <li>If the {@link Composition} export produces audio at timestamp 0, the output will
* contain an audio track. * contain an audio track.
* </ul> * </ul>
......
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