From 5b463f219b27b04b92d3af6b87176787cf103018 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 2 Nov 2012 13:18:24 -0500 Subject: unit: Move Play Tone 5.1 test data --- unit/stk-test-data.h | 24 ++++++++++++++++++++++++ unit/test-stkutil.c | 18 ------------------ 2 files changed, 24 insertions(+), 18 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 9f7ed615..dfe5d04e 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -1526,3 +1526,27 @@ static const unsigned char play_tone_4102[] = { }; #define play_tone_response_4102 play_tone_response_111 + +static const unsigned char play_tone_511[] = { + 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85, + 0x05, 0x80, 0x4E, 0x2D, 0x4E, 0x00, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01, + 0x01 +}; + +#define play_tone_response_511 play_tone_response_111 + +static const unsigned char play_tone_512[] = { + 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85, + 0x05, 0x81, 0x02, 0x9C, 0xAD, 0x80, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01, + 0x01 +}; + +#define play_tone_response_512 play_tone_response_111 + +static const unsigned char play_tone_513[] = { + 0xD0, 0x18, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85, + 0x06, 0x82, 0x02, 0x4E, 0x00, 0xAD, 0x80, 0x8E, 0x01, 0x11, 0x84, 0x02, + 0x01, 0x01 +}; + +#define play_tone_response_513 play_tone_response_111 diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 6c9d25a1..751838a7 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -2509,24 +2509,6 @@ struct play_tone_test { char *html; }; -static unsigned char play_tone_511[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, - 0x00, 0x82, 0x02, 0x81, 0x03, - 0x85, 0x05, 0x80, 0x4E, 0x2D, - 0x4E, 0x00, 0x8E, 0x01, 0x11, - 0x84, 0x02, 0x01, 0x01 }; - -static unsigned char play_tone_512[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, - 0x00, 0x82, 0x02, 0x81, 0x03, - 0x85, 0x05, 0x81, 0x02, 0x9C, - 0xAD, 0x80, 0x8E, 0x01, 0x11, - 0x84, 0x02, 0x01, 0x01 }; - -static unsigned char play_tone_513[] = { 0xD0, 0x18, 0x81, 0x03, 0x01, 0x20, - 0x00, 0x82, 0x02, 0x81, 0x03, - 0x85, 0x06, 0x82, 0x02, 0x4E, - 0x00, 0xAD, 0x80, 0x8E, 0x01, - 0x11, 0x84, 0x02, 0x01, 0x01 }; - static unsigned char play_tone_611[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85, 0x09, 0x80, 0x00, 0x38, -- cgit v1.2.3