public static interface DefaultAudioSink.AudioProcessorChain
getMediaDuration(long) and getSkippedOutputFrameCount().| Modifier and Type | Method and Description |
|---|---|
PlaybackParameters |
applyPlaybackParameters(PlaybackParameters playbackParameters)
Configures audio processors to apply the specified playback parameters immediately, returning
the new parameters, which may differ from those passed in.
|
AudioProcessor[] |
getAudioProcessors()
Returns the fixed chain of audio processors that will process audio.
|
long |
getMediaDuration(long playoutDuration)
Scales the specified playout duration to take into account speedup due to audio processing,
returning an input media duration, in arbitrary units.
|
long |
getSkippedOutputFrameCount()
Returns the number of output audio frames skipped since the audio processors were last
flushed.
|
AudioProcessor[] getAudioProcessors()
PlaybackParameters applyPlaybackParameters(PlaybackParameters playbackParameters)
playbackParameters - The playback parameters to try to apply.long getMediaDuration(long playoutDuration)
long getSkippedOutputFrameCount()