]> git.sesse.net Git - kdenlive/blobdiff - src/lib/audio/audioStreamInfo.cpp
use only kDebug/qDebug, no cout
[kdenlive] / src / lib / audio / audioStreamInfo.cpp
index 1a172277ff675b51c2ea7db34cc262b67397836d..dcd9989a3c6c36ce0061623f0f50f2bee2a2967e 100644 (file)
@@ -10,8 +10,8 @@ the Free Software Foundation, either version 3 of the License, or
 
 #include "audioStreamInfo.h"
 
+#include <QDebug>
 #include <QString>
-#include <iostream>
 #include <cstdlib>
 
 AudioStreamInfo::AudioStreamInfo(Mlt::Producer *producer, int audioStreamIndex) :
@@ -73,11 +73,9 @@ const QString& AudioStreamInfo::codecName(bool longName) const
 
 void AudioStreamInfo::dumpInfo() const
 {
-    std::cout << "Info for audio stream " << m_audioStreamIndex << std::endl
-              << "\tCodec: " << m_codecLongName.toLocal8Bit().data() << " (" << m_codecName.toLocal8Bit().data() << ")" << std::endl
-              << "\tChannels: " << m_channels << std::endl
-              << "\tSampling rate: " << m_samplingRate << std::endl
-              << "\tBit rate: " << m_bitRate << std::endl
-                 ;
-
+    qDebug() << "Info for audio stream " << m_audioStreamIndex
+             << "\n\tCodec: " << m_codecLongName.toLocal8Bit().data() << " (" << m_codecName.toLocal8Bit().data() << ")"
+             << "\n\tChannels: " << m_channels
+             << "\n\tSampling rate: " << m_samplingRate
+             << "\n\tBit rate: " << m_bitRate;
 }