-rw-r--r-- | noncore/graphics/opie-eye/gui/imageinfoui.cpp | 2 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/qtrec.cpp | 18 | ||||
-rw-r--r-- | noncore/multimedia/opierec/wavFile.cpp | 14 |
5 files changed, 19 insertions, 19 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageinfoui.cpp b/noncore/graphics/opie-eye/gui/imageinfoui.cpp index 27a67a6..e70d6a6 100644 --- a/noncore/graphics/opie-eye/gui/imageinfoui.cpp +++ b/noncore/graphics/opie-eye/gui/imageinfoui.cpp | |||
@@ -158,3 +158,3 @@ void imageinfo::slot_fullInfo(const QString&_path, const QString&_t) | |||
158 | if (_path == currentFile) { | 158 | if (_path == currentFile) { |
159 | qDebug(_t); | 159 | odebug << _t << oendl; |
160 | QString t = _t; | 160 | QString t = _t; |
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index 274a22a..6fff5ab 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -44,3 +44,3 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
44 | m_cfg->setGroup("Zecke_view" ); | 44 | m_cfg->setGroup("Zecke_view" ); |
45 | // qDebug( "Process-wide OApplication object @ %0x", oApp ); | 45 | // odebug << "Process-wide OApplication object @ " << oApp << oendl; |
46 | /* | 46 | /* |
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 95a0f45..1c08b41 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -222,3 +222,3 @@ void AudioWidget::updateSlider( long i, long max ) { | |||
222 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); | 222 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); |
223 | // qDebug( timeAsString( i ) + " / " + timeAsString( max ) ) ; | 223 | // odebug << timeAsString( i ) << " / " << timeAsString( max ) << oendl; |
224 | 224 | ||
diff --git a/noncore/multimedia/opierec/qtrec.cpp b/noncore/multimedia/opierec/qtrec.cpp index 6eb6524..3b8cb0d 100644 --- a/noncore/multimedia/opierec/qtrec.cpp +++ b/noncore/multimedia/opierec/qtrec.cpp | |||
@@ -123,6 +123,5 @@ void quickRec() | |||
123 | 123 | ||
124 | qDebug("%d", | 124 | odebug << ( filePara.numberSamples/filePara.sampleRate * filePara.channels ) << oendl; |
125 | filePara.numberSamples/filePara.sampleRate * filePara.channels); | 125 | odebug << "samples " << filePara.numberSamples << ", rate " << filePara.sampleRate |
126 | qDebug("samples %d, rate %d, channels %d", | 126 | << ", channels " << filePara.channels << oendl; |
127 | filePara.numberSamples, filePara.sampleRate, filePara.channels); | ||
128 | 127 | ||
@@ -921,6 +920,5 @@ bool QtRec::rec() { //record | |||
921 | cfg.setGroup("Settings"); | 920 | cfg.setGroup("Settings"); |
922 | // qDebug( "<<<<<<<Device bits %d, device rate %d, device channels %d", | 921 | // odebug << "<<<<<<<Device bits " << soundDevice->getDeviceBits() |
923 | // soundDevice->getDeviceBits(), | 922 | // << ", device rate " << soundDevice->getDeviceRate() |
924 | // soundDevice->getDeviceRate(), | 923 | // << ", device channels " << soundDevice->getDeviceChannels() << oendl; |
925 | // soundDevice->getDeviceChannels()); | ||
926 | 924 | ||
@@ -946,4 +944,4 @@ bool QtRec::rec() { //record | |||
946 | filePara.samplesToRecord = fileSize; | 944 | filePara.samplesToRecord = fileSize; |
947 | qDebug("filesize should be %d, bits %d, rate %d", | 945 | odebug << "filesize should be " << filePara.samplesToRecord |
948 | filePara.samplesToRecord, filePara.resolution, filePara.sampleRate); | 946 | << ", bits " << filePara.resolution << ", rate " << filePara.sampleRate; |
949 | if( paused) { | 947 | if( paused) { |
diff --git a/noncore/multimedia/opierec/wavFile.cpp b/noncore/multimedia/opierec/wavFile.cpp index 7e9b50f..fc0130c 100644 --- a/noncore/multimedia/opierec/wavFile.cpp +++ b/noncore/multimedia/opierec/wavFile.cpp | |||
@@ -154,4 +154,5 @@ bool WavFile::setWavHeader(int fd, wavhdr *hdr) { | |||
154 | write( fd,hdr, sizeof(*hdr)); | 154 | write( fd,hdr, sizeof(*hdr)); |
155 | qDebug("writing header: bitrate%d, samplerate %d, channels %d", | 155 | odebug << "writing header: bitrate " << wavResolution |
156 | wavResolution, wavSampleRate, wavChannels); | 156 | << ", samplerate " << wavSampleRate |
157 | << ", channels " << wavChannels << oendl; | ||
157 | return true; | 158 | return true; |
@@ -214,4 +215,3 @@ int WavFile::parseWavHeader(int fd) { | |||
214 | if (fmt != WAVE_FORMAT_PCM && fmt != WAVE_FORMAT_DVI_ADPCM) { | 215 | if (fmt != WAVE_FORMAT_PCM && fmt != WAVE_FORMAT_DVI_ADPCM) { |
215 | qDebug("Wave file contains unknown format." | 216 | odebug << "Wave file contains unknown format. Unable to continue.\n" << oendl; |
216 | " Unable to continue.\n"); | ||
217 | return -1; | 217 | return -1; |
@@ -268,4 +268,6 @@ int WavFile::parseWavHeader(int fd) { | |||
268 | wavNumberSamples = longdata; | 268 | wavNumberSamples = longdata; |
269 | qDebug("file has length of %d \nlasting %d seconds", (int)longdata, | 269 | odebug << "file hase length of " << (int)longdata << "\n" |
270 | (int)(( longdata / wavSampleRate) / wavChannels) / ( wavChannels*( wavResolution/8)) ); | 270 | << "lasting " |
271 | << (int)(( longdata / wavSampleRate) / wavChannels) / ( wavChannels*( wavResolution/8)) | ||
272 | << " seconds" << oendl; | ||
271 | // wavSeconds = (( longdata / wavSampleRate) / wavChannels) / ( wavChannels*( wavResolution/8)); | 273 | // wavSeconds = (( longdata / wavSampleRate) / wavChannels) / ( wavChannels*( wavResolution/8)); |