Decode and encode audio in TransformerAudioRenderer.

There is no speed adjustment or use of sonic, as that will
come in a child CL.

PiperOrigin-RevId: 351973892
This commit is contained in:
samrobinson 2021-01-15 11:05:42 +00:00 committed by Oliver Woodman
parent f076080434
commit 4270d97fc5

View File

@ -34,7 +34,7 @@ import java.nio.ByteBuffer;
/**
* A {@link MediaCodecAdapter} that operates the underlying {@link MediaCodec} in synchronous mode.
*/
/* package */ final class SynchronousMediaCodecAdapter implements MediaCodecAdapter {
public final class SynchronousMediaCodecAdapter implements MediaCodecAdapter {
/** A factory for {@link SynchronousMediaCodecAdapter} instances. */
public static final class Factory implements MediaCodecAdapter.Factory {