Changeset 651 for trunk/examples/multimedia/audioinput/audioinput.h
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/examples/multimedia/audioinput/audioinput.h
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 53 53 Q_OBJECT 54 54 public: 55 AudioInfo(QObject * parent, QAudioInput*device);55 AudioInfo(QObjectdevice); 56 56 ~AudioInfo(); 57 57 … … 64 64 qint64 writeData(const char *data, qint64 len); 65 65 66 QAudioInput *input;66 QAudioInputinput; 67 67 68 68 private: … … 98 98 ~InputTest(); 99 99 100 QAudioDeviceInfo device;101 QAudioFormat format;102 QAudioInput* audioInput;103 AudioInfo* audioinfo;104 QIODevice* input;105 RenderArea* canvas;106 107 bool pullMode;108 109 QPushButton* button;110 QPushButton* button2;111 QComboBox* deviceBox;112 113 char* buffer;114 115 100 private slots: 116 101 void refreshDisplay(); … … 121 106 void state(QAudio::State s); 122 107 void deviceChanged(int idx); 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 123 124 }; 124 125
Note:
See TracChangeset
for help on using the changeset viewer.