From: Uwe Hermann Date: Sun, 24 Nov 2019 18:10:35 +0000 (+0100) Subject: tdm_audio: Add two initial test-cases. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ad96eb8290d9f64cd58b8f818e410a43b20a1b57;p=sigrok-test.git tdm_audio: Add two initial test-cases. --- diff --git a/decoder/test/tdm_audio/tdm-4ch-16bit-cap1.output b/decoder/test/tdm_audio/tdm-4ch-16bit-cap1.output new file mode 100644 index 0000000..4b4ca4f --- /dev/null +++ b/decoder/test/tdm_audio/tdm-4ch-16bit-cap1.output @@ -0,0 +1,76 @@ +0-201 tdm_audio: ch1: "Channel 1: dfee" "C1: dfee" "1: dfee" +201-331 tdm_audio: ch2: "Channel 2: 1100" "C2: 1100" "2: 1100" +331-461 tdm_audio: ch3: "Channel 3: 3322" "C3: 3322" "3: 3322" +461-591 tdm_audio: ch4: "Channel 4: 5544" "C4: 5544" "4: 5544" +591-721 tdm_audio: ch1: "Channel 1: 7988" "C1: 7988" "1: 7988" +721-852 tdm_audio: ch2: "Channel 2: bbaa" "C2: bbaa" "2: bbaa" +852-982 tdm_audio: ch3: "Channel 3: ddcc" "C3: ddcc" "3: ddcc" +982-1112 tdm_audio: ch4: "Channel 4: ffee" "C4: ffee" "4: ffee" +1112-1242 tdm_audio: ch1: "Channel 1: 1322" "C1: 1322" "1: 1322" +1242-1373 tdm_audio: ch2: "Channel 2: 5544" "C2: 5544" "2: 5544" +1373-1503 tdm_audio: ch3: "Channel 3: 7766" "C3: 7766" "3: 7766" +1503-1633 tdm_audio: ch4: "Channel 4: 9988" "C4: 9988" "4: 9988" +1633-1763 tdm_audio: ch1: "Channel 1: bdcc" "C1: bdcc" "1: bdcc" +1763-1893 tdm_audio: ch2: "Channel 2: ffee" "C2: ffee" "2: ffee" +1893-2024 tdm_audio: ch3: "Channel 3: 1100" "C3: 1100" "3: 1100" +2024-2154 tdm_audio: ch4: "Channel 4: 3322" "C4: 3322" "4: 3322" +2154-2284 tdm_audio: ch1: "Channel 1: 5766" "C1: 5766" "1: 5766" +2284-2414 tdm_audio: ch2: "Channel 2: 9988" "C2: 9988" "2: 9988" +2414-2544 tdm_audio: ch3: "Channel 3: bbaa" "C3: bbaa" "3: bbaa" +2544-2675 tdm_audio: ch4: "Channel 4: ddcc" "C4: ddcc" "4: ddcc" +2675-2805 tdm_audio: ch1: "Channel 1: f100" "C1: f100" "1: f100" +2805-2935 tdm_audio: ch2: "Channel 2: 3322" "C2: 3322" "2: 3322" +2935-3065 tdm_audio: ch3: "Channel 3: 5544" "C3: 5544" "3: 5544" +3065-3195 tdm_audio: ch4: "Channel 4: 7766" "C4: 7766" "4: 7766" +3195-3326 tdm_audio: ch1: "Channel 1: 9baa" "C1: 9baa" "1: 9baa" +3326-3456 tdm_audio: ch2: "Channel 2: ddcc" "C2: ddcc" "2: ddcc" +3456-3586 tdm_audio: ch3: "Channel 3: ffee" "C3: ffee" "3: ffee" +3586-3716 tdm_audio: ch4: "Channel 4: 1100" "C4: 1100" "4: 1100" +3716-3846 tdm_audio: ch1: "Channel 1: 3544" "C1: 3544" "1: 3544" +3846-3977 tdm_audio: ch2: "Channel 2: 7766" "C2: 7766" "2: 7766" +3977-4107 tdm_audio: ch3: "Channel 3: 9988" "C3: 9988" "3: 9988" +4107-4237 tdm_audio: ch4: "Channel 4: bbaa" "C4: bbaa" "4: bbaa" +4237-4367 tdm_audio: ch1: "Channel 1: dfee" "C1: dfee" "1: dfee" +4367-4498 tdm_audio: ch2: "Channel 2: 1100" "C2: 1100" "2: 1100" +4498-4628 tdm_audio: ch3: "Channel 3: 3322" "C3: 3322" "3: 3322" +4628-4758 tdm_audio: ch4: "Channel 4: 5544" "C4: 5544" "4: 5544" +4758-4888 tdm_audio: ch1: "Channel 1: 7988" "C1: 7988" "1: 7988" +4888-5018 tdm_audio: ch2: "Channel 2: bbaa" "C2: bbaa" "2: bbaa" +5018-5149 tdm_audio: ch3: "Channel 3: ddcc" "C3: ddcc" "3: ddcc" +5149-5279 tdm_audio: ch4: "Channel 4: ffee" "C4: ffee" "4: ffee" +5279-5409 tdm_audio: ch1: "Channel 1: 1322" "C1: 1322" "1: 1322" +5409-5539 tdm_audio: ch2: "Channel 2: 5544" "C2: 5544" "2: 5544" +5539-5669 tdm_audio: ch3: "Channel 3: 7766" "C3: 7766" "3: 7766" +5669-5800 tdm_audio: ch4: "Channel 4: 9988" "C4: 9988" "4: 9988" +5800-5930 tdm_audio: ch1: "Channel 1: bdcc" "C1: bdcc" "1: bdcc" +5930-6060 tdm_audio: ch2: "Channel 2: ffee" "C2: ffee" "2: ffee" +6060-6190 tdm_audio: ch3: "Channel 3: 1100" "C3: 1100" "3: 1100" +6190-6320 tdm_audio: ch4: "Channel 4: 3322" "C4: 3322" "4: 3322" +6320-6451 tdm_audio: ch1: "Channel 1: 5766" "C1: 5766" "1: 5766" +6451-6581 tdm_audio: ch2: "Channel 2: 9988" "C2: 9988" "2: 9988" +6581-6711 tdm_audio: ch3: "Channel 3: bbaa" "C3: bbaa" "3: bbaa" +6711-6841 tdm_audio: ch4: "Channel 4: ddcc" "C4: ddcc" "4: ddcc" +6841-6971 tdm_audio: ch1: "Channel 1: f100" "C1: f100" "1: f100" +6971-7102 tdm_audio: ch2: "Channel 2: 3322" "C2: 3322" "2: 3322" +7102-7232 tdm_audio: ch3: "Channel 3: 5544" "C3: 5544" "3: 5544" +7232-7362 tdm_audio: ch4: "Channel 4: 7766" "C4: 7766" "4: 7766" +7362-7492 tdm_audio: ch1: "Channel 1: 9baa" "C1: 9baa" "1: 9baa" +7492-7623 tdm_audio: ch2: "Channel 2: ddcc" "C2: ddcc" "2: ddcc" +7623-7753 tdm_audio: ch3: "Channel 3: ffee" "C3: ffee" "3: ffee" +7753-7883 tdm_audio: ch4: "Channel 4: 1100" "C4: 1100" "4: 1100" +7883-8013 tdm_audio: ch1: "Channel 1: 3544" "C1: 3544" "1: 3544" +8013-8143 tdm_audio: ch2: "Channel 2: 7766" "C2: 7766" "2: 7766" +8143-8274 tdm_audio: ch3: "Channel 3: 9988" "C3: 9988" "3: 9988" +8274-8404 tdm_audio: ch4: "Channel 4: bbaa" "C4: bbaa" "4: bbaa" +8404-8534 tdm_audio: ch1: "Channel 1: dfee" "C1: dfee" "1: dfee" +8534-8664 tdm_audio: ch2: "Channel 2: 1100" "C2: 1100" "2: 1100" +8664-8794 tdm_audio: ch3: "Channel 3: 3322" "C3: 3322" "3: 3322" +8794-8925 tdm_audio: ch4: "Channel 4: 5544" "C4: 5544" "4: 5544" +8925-9055 tdm_audio: ch1: "Channel 1: 7988" "C1: 7988" "1: 7988" +9055-9185 tdm_audio: ch2: "Channel 2: bbaa" "C2: bbaa" "2: bbaa" +9185-9315 tdm_audio: ch3: "Channel 3: ddcc" "C3: ddcc" "3: ddcc" +9315-9445 tdm_audio: ch4: "Channel 4: ffee" "C4: ffee" "4: ffee" +9445-9576 tdm_audio: ch1: "Channel 1: 1322" "C1: 1322" "1: 1322" +9576-9706 tdm_audio: ch2: "Channel 2: 5544" "C2: 5544" "2: 5544" +9706-9836 tdm_audio: ch3: "Channel 3: 7766" "C3: 7766" "3: 7766" +9836-9966 tdm_audio: ch4: "Channel 4: 9988" "C4: 9988" "4: 9988" diff --git a/decoder/test/tdm_audio/tdm-8ch-16bit-cap1.output b/decoder/test/tdm_audio/tdm-8ch-16bit-cap1.output new file mode 100644 index 0000000..2141cda --- /dev/null +++ b/decoder/test/tdm_audio/tdm-8ch-16bit-cap1.output @@ -0,0 +1,302 @@ +0-399 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +399-464 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +464-529 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +529-594 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +594-660 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +660-725 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +725-790 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +790-855 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +855-920 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +920-985 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +985-1050 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +1050-1115 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +1115-1180 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +1180-1246 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +1246-1311 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +1311-1376 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +1376-1441 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +1441-1506 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +1506-1571 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +1571-1636 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +1636-1701 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +1701-1766 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +1766-1831 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +1831-1897 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +1897-1962 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +1962-2027 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +2027-2092 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +2092-2157 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +2157-2222 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +2222-2287 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +2287-2352 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +2352-2417 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +2417-2482 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +2482-2548 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +2548-2613 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +2613-2678 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +2678-2743 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +2743-2808 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +2808-2873 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +2873-2938 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +2938-3003 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +3003-3068 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +3068-3134 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +3134-3199 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +3199-3264 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +3264-3329 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +3329-3394 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +3394-3459 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +3459-3524 tdm_audio: ch1: "Channel 1: 0000" "C1: 0000" "1: 0000" +3524-3589 tdm_audio: ch2: "Channel 2: 0000" "C2: 0000" "2: 0000" +3589-3654 tdm_audio: ch3: "Channel 3: 0000" "C3: 0000" "3: 0000" +3654-3719 tdm_audio: ch4: "Channel 4: 0000" "C4: 0000" "4: 0000" +3719-3785 tdm_audio: ch5: "Channel 5: 0000" "C5: 0000" "5: 0000" +3785-3850 tdm_audio: ch6: "Channel 6: 0000" "C6: 0000" "6: 0000" +3850-3915 tdm_audio: ch7: "Channel 7: 0000" "C7: 0000" "7: 0000" +3915-3980 tdm_audio: ch0: "Channel 8: 0000" "C8: 0000" "8: 0000" +3980-4045 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +4045-4110 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +4110-4175 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +4175-4240 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +4240-4305 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +4305-4370 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +4370-4436 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +4436-4501 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +4501-4566 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +4566-4631 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +4631-4696 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +4696-4761 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +4761-4826 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +4826-4891 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +4891-4956 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +4956-5022 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +5022-5087 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +5087-5152 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +5152-5217 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +5217-5282 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +5282-5347 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +5347-5412 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +5412-5477 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +5477-5542 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +5542-5607 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +5607-5673 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +5673-5738 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +5738-5803 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +5803-5868 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +5868-5933 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +5933-5998 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +5998-6063 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +6063-6128 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +6128-6193 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +6193-6258 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +6258-6324 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +6324-6389 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +6389-6454 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +6454-6519 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +6519-6584 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +6584-6649 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +6649-6714 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +6714-6779 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +6779-6844 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +6844-6910 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +6910-6975 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +6975-7040 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +7040-7105 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +7105-7170 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +7170-7235 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +7235-7300 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +7300-7365 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +7365-7430 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +7430-7495 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +7495-7561 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +7561-7626 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +7626-7691 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +7691-7756 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +7756-7821 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +7821-7886 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +7886-7951 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +7951-8016 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +8016-8081 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +8081-8147 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +8147-8212 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +8212-8277 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +8277-8342 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +8342-8407 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +8407-8472 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +8472-8537 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +8537-8602 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +8602-8667 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +8667-8732 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +8732-8798 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +8798-8863 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +8863-8928 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +8928-8993 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +8993-9058 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +9058-9123 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +9123-9188 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +9188-9253 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +9253-9318 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +9318-9383 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +9383-9449 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +9449-9514 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +9514-9579 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +9579-9644 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +9644-9709 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +9709-9774 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +9774-9839 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +9839-9904 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +9904-9969 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +9969-10035 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +10035-10100 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +10100-10165 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +10165-10230 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +10230-10295 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +10295-10360 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +10360-10425 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +10425-10490 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +10490-10555 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +10555-10620 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +10620-10686 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +10686-10751 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +10751-10816 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +10816-10881 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +10881-10946 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +10946-11011 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +11011-11076 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +11076-11141 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +11141-11206 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +11206-11272 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +11272-11337 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +11337-11402 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +11402-11467 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +11467-11532 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +11532-11597 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +11597-11662 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +11662-11727 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +11727-11792 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +11792-11857 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +11857-11923 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +11923-11988 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +11988-12053 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +12053-12118 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +12118-12183 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +12183-12248 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +12248-12313 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +12313-12378 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +12378-12443 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +12443-12509 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +12509-12574 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +12574-12639 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +12639-12704 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +12704-12769 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +12769-12834 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +12834-12899 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +12899-12964 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +12964-13029 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +13029-13094 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +13094-13160 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +13160-13225 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +13225-13290 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +13290-13355 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +13355-13420 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +13420-13485 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +13485-13550 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +13550-13615 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +13615-13680 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +13680-13745 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +13745-13811 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +13811-13876 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +13876-13941 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +13941-14006 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +14006-14071 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +14071-14136 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +14136-14201 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +14201-14266 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +14266-14331 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +14331-14397 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +14397-14462 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +14462-14527 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +14527-14592 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +14592-14657 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +14657-14722 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +14722-14787 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +14787-14852 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +14852-14917 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +14917-14982 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +14982-15048 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +15048-15113 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +15113-15178 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +15178-15243 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +15243-15308 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +15308-15373 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +15373-15438 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +15438-15503 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +15503-15568 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +15568-15633 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +15633-15699 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +15699-15764 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +15764-15829 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +15829-15894 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +15894-15959 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +15959-16024 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +16024-16089 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +16089-16154 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +16154-16219 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +16219-16284 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +16284-16350 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +16350-16415 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +16415-16480 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +16480-16545 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +16545-16610 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +16610-16675 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +16675-16740 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +16740-16805 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +16805-16870 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +16870-16936 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +16936-17001 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +17001-17066 tdm_audio: ch1: "Channel 1: 0000" "C1: 0000" "1: 0000" +17066-17131 tdm_audio: ch2: "Channel 2: 0000" "C2: 0000" "2: 0000" +17131-17196 tdm_audio: ch3: "Channel 3: 0000" "C3: 0000" "3: 0000" +17196-17261 tdm_audio: ch4: "Channel 4: 0000" "C4: 0000" "4: 0000" +17261-17326 tdm_audio: ch5: "Channel 5: 0000" "C5: 0000" "5: 0000" +17326-17391 tdm_audio: ch6: "Channel 6: 0000" "C6: 0000" "6: 0000" +17391-17456 tdm_audio: ch7: "Channel 7: 0000" "C7: 0000" "7: 0000" +17456-17522 tdm_audio: ch0: "Channel 8: 0000" "C8: 0000" "8: 0000" +17522-17587 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +17587-17652 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +17652-17717 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +17717-17782 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +17782-17847 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +17847-17912 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +17912-17977 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +17977-18042 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +18042-18107 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +18107-18173 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +18173-18238 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +18238-18303 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +18303-18368 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +18368-18433 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +18433-18498 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +18498-18563 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +18563-18628 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +18628-18693 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +18693-18758 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +18758-18824 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +18824-18889 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +18889-18954 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +18954-19019 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +19019-19084 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +19084-19149 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +19149-19214 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +19214-19279 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +19279-19344 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +19344-19410 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +19410-19475 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" +19475-19540 tdm_audio: ch7: "Channel 7: 1212" "C7: 1212" "7: 1212" +19540-19605 tdm_audio: ch0: "Channel 8: 1212" "C8: 1212" "8: 1212" +19605-19670 tdm_audio: ch1: "Channel 1: 1212" "C1: 1212" "1: 1212" +19670-19735 tdm_audio: ch2: "Channel 2: 1212" "C2: 1212" "2: 1212" +19735-19800 tdm_audio: ch3: "Channel 3: 1212" "C3: 1212" "3: 1212" +19800-19865 tdm_audio: ch4: "Channel 4: 1212" "C4: 1212" "4: 1212" +19865-19930 tdm_audio: ch5: "Channel 5: 1212" "C5: 1212" "5: 1212" +19930-19995 tdm_audio: ch6: "Channel 6: 1212" "C6: 1212" "6: 1212" diff --git a/decoder/test/tdm_audio/test.conf b/decoder/test/tdm_audio/test.conf new file mode 100644 index 0000000..ef12748 --- /dev/null +++ b/decoder/test/tdm_audio/test.conf @@ -0,0 +1,9 @@ +test tdm-4ch-16bit-cap1 + protocol-decoder tdm_audio channel clock=3 channel frame=2 channel data=1 + input tdm_audio/tdm-4ch-16bit-cap1.sr + output tdm_audio annotation match tdm-4ch-16bit-cap1.output + +test tdm-8ch-16bit-cap1 + protocol-decoder tdm_audio channel clock=3 channel frame=2 channel data=1 + input tdm_audio/tdm-8ch-16bit-cap1.sr + output tdm_audio annotation match tdm-8ch-16bit-cap1.output