OSDN Git Service

Set creation/modified time of the encoded file the same value as the original file...
[lamexp/LameXP.git] / src / Decoder_WMA.cpp
index 2ada225..f64c9ba 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -136,7 +136,18 @@ bool WMADecoder::isFormatSupported(const QString &containerType, const QString &
        return false;
 }
 
-QStringList WMADecoder::supportedTypes(void)
+const AbstractDecoder::supportedType_t *WMADecoder::supportedTypes(void)
 {
-       return QStringList() << "Windows Media Audio (*.wma)";
+       static const char *exts[] =
+       {
+               "wma", "asf", NULL
+       };
+
+       static const supportedType_t s_supportedTypes[] =
+       {
+               { "Windows Media Audio", exts },
+               { NULL, NULL }
+       };
+
+       return s_supportedTypes;
 }