aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-21 09:22:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-21 09:22:05 +0000
commit01cfd0db7fc1c8946365f28fa40427d5910eece8 (patch)
tree51e7471c04e370d555b51361b33611ffe9493aca
parent0be64cb5dd1b78fd94c54361367d7e30fc3ad93a (diff)
downloadqmmp-01cfd0db7fc1c8946365f28fa40427d5910eece8.tar.gz
qmmp-01cfd0db7fc1c8946365f28fa40427d5910eece8.tar.bz2
qmmp-01cfd0db7fc1c8946365f28fa40427d5910eece8.zip
updated format names
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5866 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/qmmp/outputwriter.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/qmmp/outputwriter.cpp b/src/qmmp/outputwriter.cpp
index c14cbe9c8..184d433ca 100644
--- a/src/qmmp/outputwriter.cpp
+++ b/src/qmmp/outputwriter.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2012-2014 by Ilya Kotov *
+ * Copyright (C) 2012-2015 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -94,9 +94,20 @@ bool OutputWriter::initialize(quint32 freq, ChannelMap map, Qmmp::AudioFormat fo
{
QMap<Qmmp::AudioFormat, QString> formatNames;
formatNames.insert(Qmmp::PCM_S8, "s8");
+ formatNames.insert(Qmmp::PCM_U8, "u8");
formatNames.insert(Qmmp::PCM_S16LE, "s16le");
+ formatNames.insert(Qmmp::PCM_S16BE, "s16be");
+ formatNames.insert(Qmmp::PCM_U16LE, "u16le");
+ formatNames.insert(Qmmp::PCM_U16BE, "u16be");
formatNames.insert(Qmmp::PCM_S24LE, "s24le");
+ formatNames.insert(Qmmp::PCM_S24BE, "s24be");
+ formatNames.insert(Qmmp::PCM_U24LE, "u24le");
+ formatNames.insert(Qmmp::PCM_U24BE, "u24be");
formatNames.insert(Qmmp::PCM_S32LE, "s32le");
+ formatNames.insert(Qmmp::PCM_S32BE, "s32be");
+ formatNames.insert(Qmmp::PCM_U32LE, "u32le");
+ formatNames.insert(Qmmp::PCM_U32BE, "u32be");
+ formatNames.insert(Qmmp::PCM_FLOAT, "float");
m_output = Output::create();
if(!m_output)