summaryrefslogtreecommitdiffstats
path: root/demos/mobile/guitartuner/src/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/mobile/guitartuner/src/constants.h')
-rw-r--r--demos/mobile/guitartuner/src/constants.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/demos/mobile/guitartuner/src/constants.h b/demos/mobile/guitartuner/src/constants.h
new file mode 100644
index 0000000..c3eddaa
--- /dev/null
+++ b/demos/mobile/guitartuner/src/constants.h
@@ -0,0 +1,54 @@
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the QtDeclarative module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** You may use this file under the terms of the BSD license as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
+** the names of its contributors may be used to endorse or promote
+** products derived from this software without specific prior written
+** permission.
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
+
+#define M_MAX_AMPLITUDE_8BIT_SIGNED 127
+#define M_MAX_AMPLITUDE_8BIT_UNSIGNED 255
+#define M_MAX_AMPLITUDE_16BIT_SIGNED 32767
+#define M_MAX_AMPLITUDE_16BIT_UNSIGNED 65535
+
+#define M_TWELTH_ROOT_OF_2 1.05946309435930000000
+
+// M_SAMPLE_COUNT_MULTIPLIER is 2/(M_TWELTH_ROOT_OF_2 - 1)
+#define M_SAMPLE_COUNT_MULTIPLIER 33.63430749021150000000
+
+#endif // CONSTANTS_H
td>145logstatsplain d---------math3d182logstatsplain d---------mediaobject244logstatsplain d---------mediaobject_wince_ds990logstatsplain d---------moc1776logstatsplain d---------modeltest166logstatsplain -rw-r--r--network-settings.h2646logstatsplain d---------patternistexamplefiletree156logstatsplain d---------patternistexamples142logstatsplain d---------patternistheaders140logstatsplain d---------q3accel120logstatsplain d---------q3action122logstatsplain d---------q3actiongroup132logstatsplain d---------q3buttongroup217logstatsplain d---------q3canvas168logstatsplain d---------q3checklistitem136logstatsplain d---------q3combobox126logstatsplain d---------q3cstring124logstatsplain d---------q3databrowser132logstatsplain d---------q3dateedit126logstatsplain d---------q3datetimeedit134logstatsplain d---------q3deepcopy126logstatsplain d---------q3dict118logstatsplain d---------q3dns116logstatsplain d---------q3dockwindow130logstatsplain d---------q3filedialog130logstatsplain d---------q3frame120logstatsplain d---------q3groupbox126logstatsplain d---------q3hbox118logstatsplain d---------q3header122logstatsplain d---------q3iconview126logstatsplain d---------q3listbox85logstatsplain d---------q3listview126logstatsplain d---------q3listviewitemiterator150logstatsplain d---------q3mainwindow130logstatsplain d---------q3popupmenu128logstatsplain d---------q3process215logstatsplain d---------q3progressbar132logstatsplain d---------q3progressdialog138logstatsplain d---------q3ptrlist124logstatsplain d---------q3richtext126logstatsplain d---------q3scrollview126logstatsplain d---------q3semaphore128logstatsplain d---------q3serversocket134logstatsplain d---------q3socket121logstatsplain d---------q3socketdevice134logstatsplain d---------q3sqlcursor128logstatsplain d---------q3sqlselectcursor102logstatsplain d---------q3stylesheet130logstatsplain d---------q3tabdialog128logstatsplain d---------q3table120logstatsplain d---------q3textbrowser171logstatsplain d---------q3textedit126logstatsplain d---------q3textstream130logstatsplain d---------q3timeedit126logstatsplain d---------q3toolbar124logstatsplain d---------q3uridrag86logstatsplain d---------q3urloperator275logstatsplain d---------q3valuelist128logstatsplain d---------q3valuevector132logstatsplain d---------q3widgetstack94logstatsplain d---------q_func_info128logstatsplain d---------qabstractbutton136logstatsplain d---------qabstractitemmodel142logstatsplain d---------qabstractitemview140logstatsplain d---------qabstractmessagehandler152logstatsplain d---------qabstractnetworkcache180logstatsplain d---------qabstractprintdialog146logstatsplain d---------qabstractproxymodel144logstatsplain d---------qabstractscrollarea144logstatsplain d---------qabstractslider136logstatsplain d---------qabstractsocket136logstatsplain d---------qabstractspinbox138logstatsplain d---------qabstracttextdocumentlayout160logstatsplain d---------qabstracturiresolver191logstatsplain d---------qabstractxmlforwarditerator160logstatsplain d---------qabstractxmlnodemodel313logstatsplain d---------qabstractxmlreceiver199logstatsplain d---------qaccessibility134logstatsplain d---------qaccessibility_mac694logstatsplain d---------qaction120logstatsplain d---------qactiongroup130logstatsplain d---------qalgorithms128logstatsplain d---------qanimationgroup98logstatsplain d---------qapplication275logstatsplain d---------qapplicationargumentparser158logstatsplain d---------qatomicint126logstatsplain d---------qatomicpointer134logstatsplain d---------qautoptr122logstatsplain d---------qbitarray124logstatsplain d---------qboxlayout126logstatsplain d---------qbrush118logstatsplain d---------qbuffer120logstatsplain d---------qbuttongroup130logstatsplain d---------qbytearray165logstatsplain d---------qbytearraymatcher102logstatsplain d---------qcache118logstatsplain d---------qcalendarwidget136logstatsplain d---------qchar165logstatsplain d---------qcheckbox124logstatsplain d---------qclipboard223logstatsplain d---------qcolor118logstatsplain d---------qcolordialog130logstatsplain d---------qcolumnview128logstatsplain d---------qcombobox124logstatsplain d---------qcommandlinkbutton142logstatsplain d---------qcompleter126logstatsplain d---------qcomplextext177logstatsplain d---------qcontiguouscache100logstatsplain d---------qcopchannel194logstatsplain d---------qcoreapplication138logstatsplain d---------qcryptographichash142logstatsplain d---------qcssparser160logstatsplain d---------qdatastream251logstatsplain d---------qdatawidgetmapper140logstatsplain d---------qdate116logstatsplain d---------qdatetime124logstatsplain d---------qdatetimeedit132logstatsplain d---------qdbusabstractadaptor146logstatsplain d---------qdbusconnection136logstatsplain d---------qdbuscontext130logstatsplain d---------qdbusinterface134logstatsplain d---------qdbuslocalcalls136logstatsplain d---------qdbusmarshall268logstatsplain d---------qdbusmetaobject136logstatsplain d---------qdbusmetatype132logstatsplain d---------qdbuspendingcall138logstatsplain d---------qdbuspendingreply140logstatsplain d---------qdbusperformance244logstatsplain d---------qdbusreply126logstatsplain d---------qdbusserver166logstatsplain d---------qdbusthreading134logstatsplain d---------qdbusxmlparser134logstatsplain d---------qdebug118logstatsplain d---------qdesktopservices138logstatsplain d---------qdesktopwidget134logstatsplain d---------qdial116logstatsplain d---------qdialog120logstatsplain d---------qdialogbuttonbox138logstatsplain d---------qdir359logstatsplain d---------qdirectpainter208logstatsplain d---------qdiriterator280logstatsplain d---------qdirmodel189logstatsplain d---------qdockwidget128logstatsplain d---------qdom277logstatsplain d---------qdoublespinbox134logstatsplain d---------qdoublevalidator138logstatsplain d---------qdrag116logstatsplain d---------qeasingcurve92logstatsplain d---------qerrormessage132logstatsplain d---------qevent118logstatsplain d---------qeventloop126logstatsplain d---------qexplicitlyshareddatapointer162logstatsplain d---------qfile680logstatsplain d---------qfiledialog128logstatsplain d---------qfileiconprovider140logstatsplain d---------qfileinfo201logstatsplain d---------qfilesystemmodel138logstatsplain d---------qfilesystemwatcher142logstatsplain d---------qflags118logstatsplain d---------qfocusevent128logstatsplain d---------qfocusframe128logstatsplain d---------qfont116logstatsplain d---------qfontcombobox132logstatsplain d---------qfontdatabase172logstatsplain d---------qfontdialog186logstatsplain d---------qfontmetrics130logstatsplain d---------qformlayout128logstatsplain d---------qftp195logstatsplain d---------qfuture162logstatsplain d---------qfuturewatcher134logstatsplain d---------qgetputenv126logstatsplain d---------qgl112logstatsplain d---------qglobal120logstatsplain d---------qgraphicsgridlayout144logstatsplain d---------qgraphicsitem188logstatsplain d---------qgraphicsitemanimation150logstatsplain d---------qgraphicslayout136logstatsplain d---------qgraphicslayoutitem144logstatsplain d---------qgraphicslinearlayout148logstatsplain d---------qgraphicspixmapitem144logstatsplain d---------qgraphicspolygonitem146logstatsplain d---------qgraphicsproxywidget146logstatsplain d---------qgraphicsscene307logstatsplain d---------qgraphicsview183logstatsplain d---------qgraphicswidget136logstatsplain d---------qgridlayout169logstatsplain d---------qgroupbox124logstatsplain d---------qguivariant128logstatsplain d---------qhash116logstatsplain d---------qheaderview128logstatsplain d---------qhelpcontentmodel224logstatsplain d---------qhelpenginecore218logstatsplain d---------qhelpgenerator215logstatsplain d---------qhelpindexmodel218logstatsplain d---------qhelpprojectdata221logstatsplain d---------qhostaddress130logstatsplain d---------qhostinfo124logstatsplain d---------qhttp311logstatsplain d---------qhttpnetworkconnection150logstatsplain d---------qhttpnetworkreply140logstatsplain d---------qhttpsocketengine140logstatsplain d---------qicoimageformat169logstatsplain d---------qicon415logstatsplain d---------qimage151logstatsplain d---------qimageiohandler136logstatsplain d---------qimagereader242logstatsplain d---------qimagewriter163logstatsplain d---------qinputdialog130logstatsplain d---------qintvalidator132logstatsplain d---------qiodevice124logstatsplain d---------qitemdelegate132logstatsplain d---------qitemeditorfactory142logstatsplain d---------qitemmodel204logstatsplain d---------qitemselectionmodel144logstatsplain d---------qitemview167logstatsplain d---------qkeyevent124logstatsplain d---------qkeysequence206logstatsplain d---------qlabel225logstatsplain d---------qlayout155logstatsplain d---------qlcdnumber126logstatsplain d---------qlibrary252logstatsplain d---------qline116logstatsplain d---------qlineedit159logstatsplain d---------qlist116logstatsplain d---------qlistview124logstatsplain d---------qlistwidget128logstatsplain d---------qlocale190logstatsplain d---------qlocalsocket228logstatsplain d---------qmacstyle124logstatsplain d---------qmainwindow128logstatsplain d---------qmake237logstatsplain d---------qmap114logstatsplain d---------qmdiarea122logstatsplain d---------qmdisubwindow132logstatsplain d---------qmenu116logstatsplain d---------qmenubar122logstatsplain d---------qmessagebox128logstatsplain d---------qmetaobject128logstatsplain d---------qmetatype124logstatsplain d---------qmouseevent128logstatsplain d---------qmouseevent_modal140logstatsplain d---------qmovie155logstatsplain d---------qmultiscreen130logstatsplain d---------qmutex118logstatsplain d---------qmutexlocker130logstatsplain d---------qnativesocketengine189logstatsplain d---------qnetworkaddressentry146logstatsplain d---------qnetworkcachemetadata148logstatsplain d---------qnetworkcookie134logstatsplain d---------qnetworkcookiejar140logstatsplain d---------qnetworkdiskcache140logstatsplain d---------qnetworkinterface140logstatsplain d---------qnetworkproxy132logstatsplain d---------qnetworkreply424logstatsplain d---------qnetworkrequest136logstatsplain d---------qnumeric122logstatsplain d---------qobject284logstatsplain d---------qobjectperformance142logstatsplain d---------qobjectrace128logstatsplain d---------qpaintengine130logstatsplain d---------qpainter369logstatsplain d---------qpainterpath130logstatsplain d---------qpainterpathstroker144logstatsplain d---------qpalette122logstatsplain d---------qparallelanimationgroup114logstatsplain d---------qpathclipper202logstatsplain d---------qpen114logstatsplain d---------qpicture122logstatsplain d---------qpixmap235logstatsplain d---------qpixmapcache130logstatsplain d---------qpixmapfilter131logstatsplain d---------qplaintextedit134logstatsplain d---------qplugin241logstatsplain d---------qpluginloader267logstatsplain d---------qpoint118logstatsplain d---------qpointarray128logstatsplain d---------qpointer122logstatsplain d---------qprinter122logstatsplain d---------qprinterinfo130logstatsplain d---------qprocess1029logstatsplain d---------qprogressbar130logstatsplain d---------qprogressdialog136logstatsplain d---------qpropertyanimation104logstatsplain d---------qpushbutton163logstatsplain d---------qqueue118logstatsplain d---------qradiobutton130logstatsplain d---------qrand116logstatsplain d---------qreadlocker128logstatsplain d---------qreadwritelock134logstatsplain d---------qrect116logstatsplain d---------qregexp120logstatsplain d---------qregexpvalidator138logstatsplain d---------qregion120logstatsplain d---------qresourceengine252logstatsplain d---------qringbuffer90logstatsplain d---------qscriptable128logstatsplain d---------qscriptclass130logstatsplain d---------qscriptcontext134logstatsplain d---------qscriptcontextinfo142logstatsplain d---------qscriptengine165logstatsplain d---------qscriptengineagent142logstatsplain d---------qscriptenginedebugger148logstatsplain d---------qscriptjstestsuite174logstatsplain d---------qscriptqobject134logstatsplain d---------qscriptstring132logstatsplain d---------qscriptv8testsuite136logstatsplain d---------qscriptvalue130logstatsplain d---------qscriptvalueiterator146logstatsplain d---------qscrollarea128logstatsplain d---------qscrollbar126logstatsplain d---------qsemaphore126logstatsplain d---------qsequentialanimationgroup118logstatsplain d---------qset114logstatsplain d---------qsettings389logstatsplain d---------qsharedmemory264logstatsplain d---------qsharedpointer267logstatsplain d---------qshortcut124logstatsplain d---------qsidebar122logstatsplain d---------qsignalmapper132logstatsplain d---------qsignalspy126logstatsplain d---------qsimplexmlnodemodel193logstatsplain d---------qsize116logstatsplain d---------qsizef118logstatsplain d---------qsizegrip124logstatsplain d---------qslider120logstatsplain d---------qsocketnotifier136logstatsplain d---------qsocks5socketengine144logstatsplain d---------qsortfilterproxymodel148logstatsplain d---------qsound151logstatsplain d---------qsourcelocation136logstatsplain d---------qspinbox122logstatsplain d---------qsplitter206logstatsplain d---------qsql114logstatsplain d---------qsqldatabase208logstatsplain d---------qsqldriver88logstatsplain d---------qsqlerror124logstatsplain d---------qsqlfield124logstatsplain d---------qsqlquery124logstatsplain d---------qsqlquerymodel134logstatsplain d---------qsqlrecord126logstatsplain d---------qsqlrelationaltablemodel154logstatsplain d---------qsqltablemodel134logstatsplain d---------qsqlthread126logstatsplain d---------qsslcertificate219logstatsplain d---------qsslcipher126logstatsplain d---------qsslerror124logstatsplain d---------qsslkey151logstatsplain d---------qsslsocket196logstatsplain d---------qstackedlayout134logstatsplain d---------qstackedwidget134logstatsplain d---------qstandarditem132logstatsplain d---------qstandarditemmodel142logstatsplain d---------qstate80logstatsplain d---------qstatemachine94logstatsplain d---------qstatusbar126logstatsplain d---------qstl114logstatsplain d---------qstring161logstatsplain d---------qstringbuilder424logstatsplain d---------qstringlist128logstatsplain d---------qstringlistmodel182logstatsplain d---------qstringmatcher134logstatsplain d---------qstyle193logstatsplain d---------qstyleoption130logstatsplain d---------qstylesheetstyle212logstatsplain d---------qsvgdevice126logstatsplain d---------qsvggenerator172logstatsplain d---------qsvgrenderer326logstatsplain d---------qsyntaxhighlighter142logstatsplain d---------qsysinfo122logstatsplain d---------qsystemsemaphore206logstatsplain d---------qsystemtrayicon168logstatsplain d---------qtabbar120logstatsplain d---------qtableview126logstatsplain d---------qtablewidget130logstatsplain d---------qtabwidget126logstatsplain d---------qtconcurrentfilter142logstatsplain d---------qtconcurrentiteratekernel156logstatsplain d---------qtconcurrentmap175logstatsplain d---------qtconcurrentrun136logstatsplain d---------qtconcurrentthreadengine154logstatsplain d---------qtcpserver198logstatsplain d---------qtcpsocket194logstatsplain d---------qtemporaryfile134logstatsplain d---------qtessellator839logstatsplain d---------qtextblock126logstatsplain d---------qtextboundaryfinder175logstatsplain -rw-r--r--qtextbrowser.html35logstatsplain d---------qtextbrowser504logstatsplain d---------qtextcodec349logstatsplain d---------qtextcursor128logstatsplain d---------qtextdocument168logstatsplain d---------qtextdocumentfragment148logstatsplain d---------qtextdocumentlayout144logstatsplain d---------qtextedit169logstatsplain d---------qtextformat128logstatsplain d---------qtextlayout128logstatsplain d---------qtextlist124logstatsplain d---------qtextobject128logstatsplain d---------qtextodfwriter134logstatsplain d---------qtextpiecetable136logstatsplain d---------qtextscriptengine175logstatsplain d---------qtextstream534logstatsplain d---------qtexttable126logstatsplain d---------qthread120logstatsplain d---------qthreadonce212logstatsplain d---------qthreadpool128logstatsplain d---------qthreadstorage134logstatsplain d---------qtime116logstatsplain d---------qtimeline124logstatsplain d---------qtimer118logstatsplain d---------qtmd5116logstatsplain d---------qtokenautomaton222logstatsplain d---------qtoolbar122logstatsplain d---------qtoolbox122logstatsplain d---------qtoolbutton128logstatsplain d---------qtooltip122logstatsplain d---------qtransform126logstatsplain d---------qtransformedscreen142logstatsplain d---------qtranslator255logstatsplain d---------qtreeview124logstatsplain d---------qtreewidget128logstatsplain d---------qtreewidgetitemiterator152logstatsplain d---------qtwidgets393logstatsplain d---------qudpsocket232logstatsplain d---------qundogroup126logstatsplain d---------qundostack126logstatsplain d---------qurl153logstatsplain d---------quuid116logstatsplain d---------qvariant122logstatsplain d---------qvarlengtharray136logstatsplain d---------qvector120logstatsplain d---------qwaitcondition134logstatsplain d---------qwebframe116logstatsplain d---------qwebpage115logstatsplain d---------qwidget442logstatsplain d---------qwidget_window134logstatsplain d---------qwidgetaction132logstatsplain d---------qwindowsurface134logstatsplain d---------qwineventnotifier140logstatsplain d---------qwizard192logstatsplain d---------qwmatrix122logstatsplain d---------qworkspace126logstatsplain d---------qwritelocker130logstatsplain d---------qwsembedwidget134logstatsplain d---------qwsinputmethod134logstatsplain d---------qwswindowsystem136logstatsplain d---------qx11info122logstatsplain d---------qxml152logstatsplain d---------qxmlformatter200logstatsplain d---------qxmlinputsource136logstatsplain d---------qxmlitem122logstatsplain d---------qxmlname122logstatsplain d---------qxmlnamepool130logstatsplain d---------qxmlnodemodelindex142logstatsplain d---------qxmlquery585logstatsplain d---------qxmlresultitems136logstatsplain d---------qxmlserializer134logstatsplain d---------qxmlsimplereader332logstatsplain d---------qxmlstream370logstatsplain d---------qzip149logstatsplain