test_i2s_loopback: add testing support for 16bit

This commit is contained in:
Ross Owen
2023-06-06 18:31:52 +01:00
parent 1488ace820
commit e24bbe42eb
2 changed files with 6 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ def do_test(
@pytest.mark.parametrize("i2s_role", ["master", "slave"])
@pytest.mark.parametrize("pcm_format", ["i2s", "tdm"])
@pytest.mark.parametrize("channel_count", [2, 8, 16])
@pytest.mark.parametrize("word_length", [32]) # I2S world length in bits
@pytest.mark.parametrize("word_length", [16, 32]) # I2S world length in bits
@pytest.mark.parametrize("sample_rate", [48000, 96000, 192000])
def test_i2s_loopback(
i2s_role, pcm_format, channel_count, sample_rate, word_length, test_file, options, capfd