|
|
a0a130 |
diff -Nur audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3.6/test/NeXT.cpp
|
|
|
a0a130 |
--- audiofile-0.3.6-orig/test/NeXT.cpp 2013-02-11 18:23:26.000000000 +0100
|
|
|
a0a130 |
+++ audiofile-0.3.6/test/NeXT.cpp 2016-02-04 10:37:32.457140823 +0100
|
|
|
a0a130 |
@@ -37,13 +37,13 @@
|
|
|
a0a130 |
|
|
|
a0a130 |
#include "TestUtilities.h"
|
|
|
a0a130 |
|
|
|
a0a130 |
-const char kDataUnspecifiedLength[] =
|
|
|
a0a130 |
+const signed char kDataUnspecifiedLength[] =
|
|
|
a0a130 |
{
|
|
|
a0a130 |
'.', 's', 'n', 'd',
|
|
|
a0a130 |
0, 0, 0, 24, // offset of 24 bytes
|
|
|
a0a130 |
- 0xff, 0xff, 0xff, 0xff, // unspecified length
|
|
|
a0a130 |
+ -1, -1, -1, -1, // unspecified length
|
|
|
a0a130 |
0, 0, 0, 3, // 16-bit linear
|
|
|
a0a130 |
- 0, 0, 172, 68, // 44100 Hz
|
|
|
a0a130 |
+ 0, 0, -84, 68, // 44100 Hz (0xAC44)
|
|
|
a0a130 |
0, 0, 0, 1, // 1 channel
|
|
|
a0a130 |
0, 1,
|
|
|
a0a130 |
0, 1,
|
|
|
a0a130 |
@@ -57,13 +57,13 @@
|
|
|
a0a130 |
0, 55
|
|
|
a0a130 |
};
|
|
|
a0a130 |
|
|
|
a0a130 |
-const char kDataTruncated[] =
|
|
|
a0a130 |
+const signed char kDataTruncated[] =
|
|
|
a0a130 |
{
|
|
|
a0a130 |
'.', 's', 'n', 'd',
|
|
|
a0a130 |
0, 0, 0, 24, // offset of 24 bytes
|
|
|
a0a130 |
0, 0, 0, 20, // length of 20 bytes
|
|
|
a0a130 |
0, 0, 0, 3, // 16-bit linear
|
|
|
a0a130 |
- 0, 0, 172, 68, // 44100 Hz
|
|
|
a0a130 |
+ 0, 0, -84, 68, // 44100 Hz (0xAC44)
|
|
|
a0a130 |
0, 0, 0, 1, // 1 channel
|
|
|
a0a130 |
0, 1,
|
|
|
a0a130 |
0, 1,
|
|
|
a0a130 |
@@ -152,13 +152,13 @@
|
|
|
a0a130 |
ASSERT_EQ(::unlink(testFileName.c_str()), 0);
|
|
|
a0a130 |
}
|
|
|
a0a130 |
|
|
|
a0a130 |
-const char kDataZeroChannels[] =
|
|
|
a0a130 |
+const signed char kDataZeroChannels[] =
|
|
|
a0a130 |
{
|
|
|
a0a130 |
'.', 's', 'n', 'd',
|
|
|
a0a130 |
0, 0, 0, 24, // offset of 24 bytes
|
|
|
a0a130 |
0, 0, 0, 2, // 2 bytes
|
|
|
a0a130 |
0, 0, 0, 3, // 16-bit linear
|
|
|
a0a130 |
- 0, 0, 172, 68, // 44100 Hz
|
|
|
a0a130 |
+ 0, 0, -84, 68, // 44100 Hz (0xAC44)
|
|
|
a0a130 |
0, 0, 0, 0, // 0 channels
|
|
|
a0a130 |
0, 1
|
|
|
a0a130 |
};
|