diff -r 31d6e1ae5283 -r 4269ca484c7b devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuiteconstants.h --- a/devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuiteconstants.h Tue Jul 06 16:02:18 2010 +0300 +++ b/devsound/a3fcharacterisationtest/src/char_a3f_devsound_compliancesuiteconstants.h Wed Aug 18 11:16:18 2010 +0300 @@ -108,7 +108,7 @@ EFsmIncorrectErrorPassed = 0, EInvalidCallbackCall }; - + // DevSound events enum TMmfDevSoundEvent { @@ -147,42 +147,59 @@ User::Panic(aCategory, aReason); } -const TUint8 KFixedSequenceTestSequenceDataX[]= - { - 0x53, 0x51, 0x4E, 0x43, // HEADER - 0xFE, 0xFF, // -2 STARTLOOP INDICATOR - 0x0A, 0x00, // Number of times that the sequence will be played - /* Tone Data constitutes the following: - ToneDur, Freq1, Vol1, Freq2 Vol2 - The sequence is arranged in blocks of 8 bits to represent 16 bit values, - which allows more dynamic range, frequency and time values. - The tag Low and High mean low and high byte block. - Low Hi Low Hi Low Hi Low Hi Low Hi - */ - 0x64, 0x00, 0xB8, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xD2, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xEE, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x0B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x2A, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x4B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x6E, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x93, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xBA, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xE4, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x3F, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x70, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xA4, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0xDC, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - 0x64, 0x00, 0x17, 0x04, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, - // Silence - // ToneDur, Freq1, Vol1, Freq2 Vol2 - 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFD, 0xFF, // -3 ENDOFLOOP INDICATOR - // Another silence - // ToneDur, Freq1, Vol1, Freq2 Vol2 - 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xFF, 0xFF // -1 SEQ_CMD_RET INDICATOR - }; +#ifdef MM_TB101_L + // Valid data for tone sequence. This code should be used for non-ref tests. This is a valid tone sequence for HW + const TUint8 KFixedSequenceTestSequenceDataX[]= + { + 0x02, 0x4A, 0x3A, 0x69, 0x39, 0xBD, 0xAD, 0xA5, + 0x84, 0x81, 0xD1, 0xD5, 0xB9, 0x94, 0x04, 0x00, + 0x27, 0x34, 0x41, 0x0B, 0x2A, 0x82, 0x68, 0x51, + 0x72, 0x19, 0x22, 0xC9, 0x21, 0x47, 0x10, 0x4C, + 0x85, 0x48, 0x71, 0x06, 0x90, 0x48, 0x85, 0x48, + 0x68, 0x20, 0x00 + }; +#else + // Valid data for tone sequence for reference platform. Below tone data may not work for HW devices + const TUint8 KFixedSequenceTestSequenceDataX[]= + { + 0x53, 0x51, 0x4E, 0x43, // HEADER + 0xFE, 0xFF, // -2 STARTLOOP INDICATOR + 0x0A, 0x00, // Number of times that the sequence will be played + /* Tone Data constitutes the following: + ToneDur, Freq1, Vol1, Freq2 Vol2 + The sequence is arranged in blocks of 8 bits to represent 16 bit values, + which allows more dynamic range, frequency and time values. + The tag Low and High mean low and high byte block. + Low Hi Low Hi Low Hi Low Hi Low Hi + */ + 0x64, 0x00, 0xB8, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xD2, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xEE, 0x01, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x0B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x2A, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x4B, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x6E, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x93, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xBA, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xE4, 0x02, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x3F, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x70, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xA4, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0xDC, 0x03, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + 0x64, 0x00, 0x17, 0x04, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, + // Silence + // ToneDur, Freq1, Vol1, Freq2 Vol2 + 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xFD, 0xFF, // -3 ENDOFLOOP INDICATOR + // Another silence + // ToneDur, Freq1, Vol1, Freq2 Vol2 + 0x70, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xFF, 0xFF // -1 SEQ_CMD_RET INDICATOR + }; + + +#endif//#if defined(MM_TB101_L) + #endif // CHAR_A3F_DEVSOUND_COMPLIANCESUITECONSTANTS_H