mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Add methods to seek in preview audio pipeline
PiperOrigin-RevId: 621513330
This commit is contained in:
parent
59710a5f81
commit
bf21f1edd5
@ -137,6 +137,8 @@ import java.util.Objects;
|
||||
*/
|
||||
public ByteBuffer getOutput() throws ExportException {
|
||||
if (mixerSourcesToAdd > 0) {
|
||||
// TODO(b/303029174): Consider adding the mixer sources at the start of playback and after a
|
||||
// seek at the same place in the code.
|
||||
addMixerSources();
|
||||
if (mixerSourcesToAdd > 0) {
|
||||
return EMPTY_BUFFER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user