Commit Graph

587 Commits

Author SHA1 Message Date
dakovaci
9025bec242 Added some directories for coming systemtests
Some directories missing needed for coming tier 1 systemtests

Change-Id: Ie22e91e5011960687daed29cf6442271c97d3352
Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
2012-07-10 11:50:04 +02:00
Mithra Pattison
8879945567 Update ALSA device enumeration to return all devices
Previously, if a device was marked as "Default Audio Device" then
only this device would be returned during device enumeration. Now
it returns all devices, with the default device placed first.

Task-number: QTBUG-22103
Change-Id: I1705415bf6b58ff046c4d2812107b46b76500001
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-10 09:18:21 +02:00
Mithra Pattison
53fdcca366 Delete obsolete class methods and update related code
Delete obsolete methods from QAudioFormat and QAudioDeviceInfo
and update code that relied on the obsolete methods.

Change-Id: I007e36375a45399b1d5a289341bc5d5a05dc68cc
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-10 08:26:04 +02:00
Michael Goddard
952bd004be Fix typo in config test name.
Change-Id: Ic89cb21f9098591c97f780bd50248686f4da3919
Reviewed-by: Kurt Korbatits  <kurt.korbatits@nokia.com>
2012-07-10 04:25:44 +02:00
Kurt Korbatits
301ed096f8 Updated QAudioOutput and QAudioInput system tests
- Updated tests with volume checking.
- Updated reset function in QAudioInput test.
  (Checking bytesReady() in pull mode is not valid)
  (Checking state after writing one byte doesn't guarantee going to active state)
- Improved stability in CI system

Change-Id: I8018bfbc163971bcb3d5f7b7a1ece6306e75ed07
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-10 04:23:40 +02:00
Thomas McGuire
9d429a4416 Blackberry: Fix erratic video resize behaviour
Change-Id: I699e7f81abb73e75eca2ddda22c7e5f2e852fcd5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-10 03:27:57 +02:00
Kurt Korbatits
2fc6e12002 Turned back on some disabled unit tests as insignificant tests
- qaudiodecoderbackend, qaudiodeviceinfo, qaudiooutput, qaudioinput,
  qmediaplayerbackend, qsound, qsoundeffect enabled as insignificant tests.
- skip iteration over all formats if QT_TEST_CI environement set (CI system)

Change-Id: I6692dcb817445870784193c0f78c0d5f7a201063
Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
2012-07-09 05:44:58 +02:00
Dmytro Poplavskiy
ed7f02490d Gst capture: use QDesktopServices for default storage location
Change-Id: Icff46f2dc88572beab2eb835e24424f15ff05616
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-09 04:50:09 +02:00
Dmytro Poplavskiy
f9a3b9b00f Gst audio input: use autoaudiosrc as default device
Currently pulsesrc element is selected if it's installed,
even if pulseaudio is not used.

Change-Id: I7e23e647767116955e24e3681155f9cb5f6d8574
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-09 04:50:05 +02:00
Ling Hu
7fb95fe3e2 Fix a potential leak in wmf
Change-Id: I4fc039aeaf00a02122d5e11867c73223cc2ebbc1
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-05 06:55:22 +02:00
Dmytro Poplavskiy
a3e9228ac4 Gst capture: report the actual media location to application
Change-Id: I2ebc7b9607fe499e2465428118bff3fe98e58672
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-04 07:21:05 +02:00
Friedemann Kleint
fd85b61d17 Fix internal compiler error of MSVC2012.
Default to QLatin1String.

Change-Id: I20b74f77ee0828a1c2b1337a3ab2e0012c8df06e
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-04 07:20:53 +02:00
dakovaci
8e8dc60efb Moved some files to different dir's
Just some rearanging to be done.

Change-Id: Ib76403c3cf41cb1d1502ed2f94bdc066321e637d
Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
2012-07-03 08:30:11 +02:00
dakovaci
3d3cb0f9c9 Edited radio systemtests to support tier 1 platforms
Some tests were not compatable to tier 1 platforms

Change-Id: Ibf3221f638b5a52159e6f3004f1a6da7ef83785e
Reviewed-by: Daron Andrew Edie <daron.edie@nokia.com>
2012-07-03 07:06:44 +02:00
dakovaci
f717e5f49a Removed some system tests not applicatple to tier 1 platforms
Change-Id: I24ab04409593f4b046aec55a1e467e3bb4b08464
Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
2012-07-03 00:40:59 +02:00
Mithra Pattison
dde8dc46f0 Fix installation of spectrum example
Fixed setup of spectrum project, to correctly install the spectrum
executable.

Task-number: QTBUG-13018
Change-Id: Ifcc55d02cf0e50f9c1015fa89b5f2d851b2a44c4
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-07-02 02:59:10 +02:00
Dmytro Poplavskiy
f9516c4c5b Fixed QML video playback on Mac
Use the same CIImage based video frames as with
QGraphicsVideoItem, but since CIImages can't be
rendered directly in Scene Graph,
the frame is rendered to FBO first.

Task-number: QT-5423
Change-Id: I16f7e6351578bae21f8642a8028538c441e1f544
Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-29 08:59:53 +02:00
Dmytro Poplavskiy
8bdceb9357 Gst Capture: image capture fixes
Report camera is ready to capture only in image capture modes;
Emit capture failed if camera not configured for capture

Change-Id: Ia2b92e2f8c760db948185a29c3e5ceae81dd3af4
Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 07:28:29 +02:00
Dmytro Poplavskiy
b3e8783334 Gst capture service: capture mode fixes
Fixed reporting the current capture mode
Set the correct default capture mode
Allow viewfinder only and Video+Image capture modes

Change-Id: Ib12504304bca22fe664631ff5ffbc0a392ba34a8
Reviewed-by: Ling Hu <ling.hu@nokia.com>
Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
2012-06-29 07:28:22 +02:00
Dmytro Poplavskiy
799a33e34d Gst capture: don't wait for pipeline to stop
State changes to lower state are synchronous in gstreamer

Change-Id: Ib87eabfeee9ec100f24efbaa989ec909ac7f9a1b
Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 07:28:19 +02:00
Dmytro Poplavskiy
b6848df7c2 Allow gst video capture startup without viewfinder attached.
Change-Id: I5f0b7dc12f4ee8e988d6107047d963949bcdb5bf
Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 07:28:14 +02:00
bigbearzhu
f2309fa927 Fixed a testing bug on windows platform.
Change-Id: Iaf11864e6929345b105cdd185b4bb01b24961406
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 06:00:21 +02:00
Ling Hu
eb5b216ac4 Refactoring wmf plugin
make mf startup/shutdwon inside plugin instead of player component
make sourceresolver a common component for a wmf related tasks.

Change-Id: I49cdc4fa512a62398a68cd2be2f522f567d11c7c
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-29 05:59:46 +02:00
Ling Hu
340f18d4b5 Fixed a WMF seek bug.
Change-Id: I1f077a045dad94127e747dd3f8c8566559aef5a2
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-29 03:01:51 +02:00
Michael Goddard
b0809c027c Rename availabilityError to availability.
It's perhaps clearer in the usual case.

Change-Id: Id3cef82ac83f8c9b538b3315281664ce1c6a2b96
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 02:47:41 +02:00
Michael Goddard
bba28afe55 Rename a few controls.
The encoder controls could be confused with actual encoding, so make
clear they are just settings.  Also, the end point selector controls
were not named very well.

Change-Id: I27f8bf9c865c5f295abad97c01ef98752af42613
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-29 02:47:29 +02:00
Friedemann Kleint
b834fe032f Locate qdoc on Windows correctly.
Change-Id: I1a7ac5293f76b62e467208b59948d58032c2a2cf
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-06-28 13:48:12 +02:00
Lev Zelenskiy
dcf79d4998 Read actual period size after initializing a stream.
QTBUG-23833

Change-Id: I2bd352cf34d12e1be22f640c47fc2388dc3a7f8a
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-28 09:17:47 +02:00
Michael Goddard
6f7867b5e9 Fix header path for audio engine on Mac.
There's a different prefix here.

Change-Id: Ifda82e19824801b1d903ab6ad40c97428fff236c
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-27 09:12:48 +02:00
Lev Zelenskiy
909576da6a Allow frequences up to 96000 in QAudioInput win32 backend.
QTBUG-26102

Change-Id: I1c594f7df4aea2292045e1e96f58926d97bcfd82
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-27 08:12:10 +02:00
bigbearzhu
f3f6b2d7db Fixed timeout on waiting for positionChanged event.
Change-Id: I894af066073f601e5838dbd47eb92da516c04544
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-27 08:12:04 +02:00
bigbearzhu
9de7ba79ed Fixed plugin dir error on Windows.
Change-Id: I470877d988fb70915607b65c4f17eee1adb8049d
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-27 08:12:01 +02:00
Lev Zelenskiy
23a81d62e7 Clean buffers before closing the input device.
Input device handle is invalid after waveInClose()
QTBUG-24119

Change-Id: I8276e56766684efd26b78dc019ff871ebac28408
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-27 08:11:59 +02:00
Thiago Macieira
4d64345983 syncX() doesn't do anything anymore. Remove it.
Change-Id: Id15af428e1d04606564bad093847b3dc5a731e85
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-26 22:20:26 +02:00
Thomas McGuire
a121e74710 Add blackberry backend
Change-Id: I88be743f0cad94d4beabdae917758be7e4293bfd
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-26 14:13:39 +02:00
Lev Zelenskiy
4ebedcd158 Added support for big endian data to QAudioOutput win32 backend.
Convert data from big endian to little endian.
QTBUG-19881

Change-Id: If62a69b79c01d66536010b3326a86df8ca5f83b0
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-26 09:13:30 +02:00
Toby Tomkins
1cf5f3e729 Remove insignificant flag from tests that are passing.
Change-Id: I246d7cfa79cbbbee3cfc4a354b38c155aa887aa2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-06-26 08:10:15 +02:00
Toby Tomkins
c717df0005 Add expected fail flags for consistently failing autotests.
Task-number: QTBUG-26320

Change-Id: I58624a8c39c0c247d9073097616a7a78e7e307da
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-06-26 08:10:13 +02:00
Lev Zelenskiy
1c81d25e4f Fix crash in audioinput and audiooutput examples.
Do not call tr while initializing static objects.

Change-Id: Ia75ddd53ae22b0e4179f174da7d933156744e261
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-26 05:26:42 +02:00
bigbearzhu
4af40afe46 Fixed a testing bug.
Change-Id: Iff7fb6d4de2f38fde37019ea7e8b034707f8bbe1
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-26 04:08:00 +02:00
Oswald Buddenhagen
b1a4d7f9fc build system cleanups
- load(qt_module) => load(qt_build_config)
- remove:
  - CONFIG+=module (obsolete)
  - code relating to module version headers (automated now)
  - %mastercontent assignment (automated now)
  - QT_BUILD_*_LIB defines (automated now)
  - pointless QPRO_PWD assignments
  - pointless DEFINES+=QT_MAKEDLL
  - pointless and commented out include and depend paths
  - qmake -project boilerplate

Change-Id: I8f4586403848fe8f2dff4e889b389956ffcdea59
Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-25 11:44:40 +02:00
Oswald Buddenhagen
631f3ab025 fix bogus conditional
this code meant (alsa && linux) || openbsd || freebsd, which is
presumably not what was meant.
but the os test seems rather pointless in the first place, so just
remove it.

Change-Id: I2591c9307ab9d6e821625b24797259ed60e9a082
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-06-25 10:40:03 +02:00
Oswald Buddenhagen
82ade38b11 switch to new-style configure tests
Change-Id: Ib56d0cb24065c1f990aee5d7f41bfedfe75332a1
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-06-25 10:40:03 +02:00
Oswald Buddenhagen
c495dfe142 auto-generate module pris
Change-Id: I19285dfef7294e813ec241a8f6f00a804d56df49
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-25 09:50:37 +02:00
Mithra Pattison
5705f70da1 Add default initialisation to various multimedia classes
Change-Id: I902de05984fdae152e2678e4cf2d401a0b670703
Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
2012-06-25 06:39:11 +02:00
Ling Hu
1b7da9e0ad Fixed some crash with WMF backend
Change-Id: I721ba049e2ecafff53ee70d5b930fb52c15fbe09
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
2012-06-25 06:39:08 +02:00
Toby Tomkins
6d301388e1 Fix namespace compilation.
Change-Id: Id8d71a48df20da16647834e8f9732012f26f928f
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-06-25 06:39:04 +02:00
Michael Goddard
d006d874ba Add a few things to the .gitignore file.
A few Mac specific things, plus .o files.

Change-Id: I7273977666a07cdf39cf0916bc5c2dbede30af05
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-25 06:39:00 +02:00
Michael Goddard
89898e4499 Add the QtBase/lib directory as a library path, not just frameworks.
This meant that any non-framework libraries there weren't found (like
the multimedia helper libraries).

Change-Id: Iacd99f82763d39fc47c779c9498dfd5e1cc0e743
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-06-25 06:38:56 +02:00
Michael Goddard
eb92be7ede Fix QAudioOutput volume on OSX.
Change-Id: I142ca638d3dc0839f7c5b103f03edac6715a0bb6
Reviewed-by: Ling Hu <ling.hu@nokia.com>
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
2012-06-20 09:11:28 +02:00