Pass AudioFormat to ASP#computeNextEncoderInputBufferTimeUs.
This method uses sampleRate, channelCount and pcmEncoding, so passing AudioFormat is easier. This will lead into a future change that builds the encoderInputAudioFormat from encoder.getConfigurationFormat() PiperOrigin-RevId: 510956177
Showing
with
3 additions
and
6 deletions
Please
register
or
sign in
to comment