summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/audiodecoder/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/audiodecoder/main.cpp')
-rw-r--r--examples/multimedia/audiodecoder/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/multimedia/audiodecoder/main.cpp b/examples/multimedia/audiodecoder/main.cpp
index 46e70445e..9c536ef0a 100644
--- a/examples/multimedia/audiodecoder/main.cpp
+++ b/examples/multimedia/audiodecoder/main.cpp
@@ -63,10 +63,10 @@ int main(int argc, char *argv[])
QTextStream cout(stdout, QIODevice::WriteOnly);
if (app.arguments().size() < 2) {
- cout << "Usage: audiodecoder [-p] [-pd] SOURCEFILE [TARGETFILE]" << Qt::endl;
- cout << "Set -p option if you want to play output file." << Qt::endl;
- cout << "Set -pd option if you want to play output file and delete it after successful playback." << Qt::endl;
- cout << "Default TARGETFILE name is \"out.wav\" in the same directory as the source file." << Qt::endl;
+ cout << "Usage: audiodecoder [-p] [-pd] SOURCEFILE [TARGETFILE]\n";
+ cout << "Set -p option if you want to play output file.\n";
+ cout << "Set -pd option if you want to play output file and delete it after successful playback.\n";
+ cout << "Default TARGETFILE name is \"out.wav\" in the same directory as the source file.\n";
return 0;
}
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
int sourceFileIndex = (isPlayback || isDelete) ? 2 : 1;
if (app.arguments().size() <= sourceFileIndex) {
- cout << "Error: source filename is not specified." << Qt::endl;
+ cout << "Error: source filename is not specified.\n";
return 0;
}
sourceFile.setFile(app.arguments().at(sourceFileIndex));