mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
aiff_rw_test.c : Add 'MARK' chunks to make sure they are parsed correctly.
This commit is contained in:
parent
b70e51fba8
commit
3d8a64af63
@ -1,3 +1,8 @@
|
||||
2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* tests/aiff_rw_test.c
|
||||
Add 'MARK' chunks to make sure they are parsed correctly.
|
||||
|
||||
2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/aiff.c
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
static unsigned char aifc_data [] =
|
||||
{ 'F' , 'O' , 'R' , 'M' ,
|
||||
0x00, 0x00, 0x01, 0xAA, /* FORM length */
|
||||
0x00, 0x00, 0x01, 0xE8, /* FORM length */
|
||||
|
||||
'A' , 'I' , 'F' , 'C' ,
|
||||
0x43, 0x4F, 0x4D, 0x4D, /* COMM */
|
||||
@ -42,6 +42,14 @@ static unsigned char aifc_data [] =
|
||||
|
||||
'F' , 'V' , 'E' , 'R' , 0x00, 0x00, 0x00, 0x04, 0xA2, 0x80, 0x51, 0x40,
|
||||
|
||||
/* A 'MARK' chunk. */
|
||||
'M' , 'A' , 'R' , 'K' , 0x00, 0x00, 0x00, 0x36, 0x00, 0x05,
|
||||
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 'A' ,
|
||||
0x00, 0x02, 0x00, 0x00, 0x11, 0x3A, 0x02, 'B' , 'C' , 0x00,
|
||||
0x00, 0x03, 0x00, 0x00, 0x22, 0x74, 0x03, 'D' , 'E' , 'F',
|
||||
0x00, 0x04, 0x00, 0x00, 0x33, 0xAE, 0x04, 'G' , 'H' , 'I', 'J' , 0x00,
|
||||
0x00, 0x05, 0x00, 0x00, 0x44, 0xE8, 0x05, 'K' , 'L' , 'M', 'N' , 'O' ,
|
||||
|
||||
'S' , 'S' , 'N' , 'D' ,
|
||||
0x00, 0x00, 0x01, 0x64, /* SSND length */
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
Loading…
Reference in New Issue
Block a user