summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-03-17 08:44:24 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-03 15:37:33 +0200
commitb0c68a1a07f546fe22a7d76b1a15bb2b39aa550f (patch)
tree43927962b90a4aeb891d36ed5890dd8383ddbf0b /tests
parent3d51c9565da75b533926ca8bb98fe5746fc37d3b (diff)
Add support for running on big-endian systems
Now qtmultimedia test suite passes on powerpc. Change-Id: I540dff93195115ad1dc5725af7293e3b8540403f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/qaudioformat/tst_qaudioformat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp b/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
index ee1651304..22a5dc135 100644
--- a/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
+++ b/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
@@ -323,10 +323,10 @@ void tst_QAudioFormat::debugOperator_data()
// A small sampling
QAudioFormat f;
+ f.setByteOrder(QAudioFormat::LittleEndian);
QTest::newRow("plain") << f << QString::fromLatin1("QAudioFormat(-1Hz, -1bit, channelCount=-1, sampleType=Unknown, byteOrder=LittleEndian, codec=\"\") ");
f.setSampleRate(22050);
- f.setByteOrder(QAudioFormat::LittleEndian);
f.setChannelCount(4);
f.setCodec("audio/pcm");
f.setSampleType(QAudioFormat::Float);