OSDN Git Service
(root)
/
lamexp
/
LameXP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved internal decoder interface.
[lamexp/LameXP.git]
/
src
/
Decoder_Musepack.cpp
diff --git
a/src/Decoder_Musepack.cpp
b/src/Decoder_Musepack.cpp
index
a3b095e
..
1e0f77c
100644
(file)
--- a/
src/Decoder_Musepack.cpp
+++ b/
src/Decoder_Musepack.cpp
@@
-138,7
+138,18
@@
bool MusepackDecoder::isFormatSupported(const QString &containerType, const QStr
return false;
}
return false;
}
-
QStringList
MusepackDecoder::supportedTypes(void)
+
const AbstractDecoder::supportedType_t *
MusepackDecoder::supportedTypes(void)
{
{
- return QStringList() << "Musepack (*.mpc *.mpp *.mp+)";
+ static const char *exts[] =
+ {
+ "mpc", "mpp", "mp+", NULL
+ };
+
+ static const supportedType_t s_supportedTypes[] =
+ {
+ { "Musepack", exts },
+ { NULL, NULL }
+ };
+
+ return s_supportedTypes;
}
}