mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Disable sample rate fallback tests.
In some cases encoders include a sample rate in their AudioCapabilities but do not support encoding at that sample rate. This breaks the assumption used to write these tests, so disable them for now until the fallback logic is updated to handle this limitation. PiperOrigin-RevId: 714055556
This commit is contained in:
parent
c26a633d83
commit
d9b61b060f
@ -119,6 +119,7 @@ import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TestName;
|
||||
@ -2418,6 +2419,7 @@ public class TransformerEndToEndTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("TODO: b/389068218 - Fix this test and re-enable it")
|
||||
public void export_withUnsupportedSampleRateAndFallbackEnabled_exportsWithFallbackSampleRate()
|
||||
throws Exception {
|
||||
int unsupportedSampleRate = 96_000;
|
||||
@ -2444,6 +2446,7 @@ public class TransformerEndToEndTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("TODO: b/389068218 - Fix this test and re-enable it")
|
||||
public void
|
||||
export_withTwoUnsupportedAndOneSupportedSampleRateAndFallbackEnabled_exportsWithFallbackSampleRate()
|
||||
throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user