summaryrefslogtreecommitdiffstats
path: root/examples/spectrum
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-11-01 12:46:48 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-02 02:38:02 +0100
commit7dfb883df639f8d80cec7bd2c51eb37561bc4522 (patch)
tree96fd66844a9733a354d7890bd3d71ba6c326fe23 /examples/spectrum
parent6a3a442ea6326ca5e94bd214ad4c88a9f9ec84f3 (diff)
Declare more metatypes and debug operators.
Nearly all of the multimedia metatypes used in the auto tests are now declared properly, and a large number of the types have debug operators as well. Removed the superfluous decls as well. Change-Id: I42cfe37562db0c71d9811b4577fc326a3326ccc9 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'examples/spectrum')
-rw-r--r--examples/spectrum/app/engine.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/spectrum/app/engine.cpp b/examples/spectrum/app/engine.cpp
index bea24523e..01b140cdc 100644
--- a/examples/spectrum/app/engine.cpp
+++ b/examples/spectrum/app/engine.cpp
@@ -63,18 +63,6 @@ const int NotifyIntervalMs = 100;
// Size of the level calculation window in microseconds
const int LevelWindowUs = 0.1 * 1000000;
-
-//-----------------------------------------------------------------------------
-// Helper functions
-//-----------------------------------------------------------------------------
-
-QDebug& operator<<(QDebug &debug, const QAudioFormat &format)
-{
- debug << format.frequency() << "Hz"
- << format.channels() << "channels";
- return debug;
-}
-
//-----------------------------------------------------------------------------
// Constructor and destructor
//-----------------------------------------------------------------------------