decoder_plugin: rename struct to DecoderPlugin
This commit is contained in:
@@ -127,7 +127,7 @@ static const char *const adplug_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin adplug_decoder_plugin = {
|
||||
const struct DecoderPlugin adplug_decoder_plugin = {
|
||||
"adplug",
|
||||
adplug_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_ADPLUG_H
|
||||
#define MPD_DECODER_ADPLUG_H
|
||||
|
||||
extern const struct decoder_plugin adplug_decoder_plugin;
|
||||
extern const struct DecoderPlugin adplug_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -253,7 +253,7 @@ static const char *const audiofile_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin audiofile_decoder_plugin = {
|
||||
const struct DecoderPlugin audiofile_decoder_plugin = {
|
||||
"audiofile",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_AUDIOFILE_HXX
|
||||
#define MPD_DECODER_AUDIOFILE_HXX
|
||||
|
||||
extern const struct decoder_plugin audiofile_decoder_plugin;
|
||||
extern const struct DecoderPlugin audiofile_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -514,7 +514,7 @@ static const char *const dsdiff_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin dsdiff_decoder_plugin = {
|
||||
const struct DecoderPlugin dsdiff_decoder_plugin = {
|
||||
"dsdiff",
|
||||
dsdiff_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_DSDIFF_H
|
||||
#define MPD_DECODER_DSDIFF_H
|
||||
|
||||
extern const struct decoder_plugin dsdiff_decoder_plugin;
|
||||
extern const struct DecoderPlugin dsdiff_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -345,7 +345,7 @@ static const char *const dsf_mime_types[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
const struct decoder_plugin dsf_decoder_plugin = {
|
||||
const struct DecoderPlugin dsf_decoder_plugin = {
|
||||
"dsf",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_DSF_H
|
||||
#define MPD_DECODER_DSF_H
|
||||
|
||||
extern const struct decoder_plugin dsf_decoder_plugin;
|
||||
extern const struct DecoderPlugin dsf_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -481,7 +481,7 @@ static const char *const faad_mime_types[] = {
|
||||
"audio/aac", "audio/aacp", nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin faad_decoder_plugin = {
|
||||
const struct DecoderPlugin faad_decoder_plugin = {
|
||||
"faad",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_FAAD_DECODER_PLUGIN_HXX
|
||||
#define MPD_FAAD_DECODER_PLUGIN_HXX
|
||||
|
||||
extern const struct decoder_plugin faad_decoder_plugin;
|
||||
extern const struct DecoderPlugin faad_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -667,7 +667,7 @@ static const char *const ffmpeg_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin ffmpeg_decoder_plugin = {
|
||||
const struct DecoderPlugin ffmpeg_decoder_plugin = {
|
||||
"ffmpeg",
|
||||
ffmpeg_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_FFMPEG_HXX
|
||||
#define MPD_DECODER_FFMPEG_HXX
|
||||
|
||||
extern const struct decoder_plugin ffmpeg_decoder_plugin;
|
||||
extern const struct DecoderPlugin ffmpeg_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -355,7 +355,7 @@ static const char *const oggflac_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin oggflac_decoder_plugin = {
|
||||
const struct DecoderPlugin oggflac_decoder_plugin = {
|
||||
"oggflac",
|
||||
oggflac_init,
|
||||
nullptr,
|
||||
@@ -377,7 +377,7 @@ static const char *const flac_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin flac_decoder_plugin = {
|
||||
const struct DecoderPlugin flac_decoder_plugin = {
|
||||
"flac",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_DECODER_FLAC_H
|
||||
#define MPD_DECODER_FLAC_H
|
||||
|
||||
extern const struct decoder_plugin flac_decoder_plugin;
|
||||
extern const struct decoder_plugin oggflac_decoder_plugin;
|
||||
extern const struct DecoderPlugin flac_decoder_plugin;
|
||||
extern const struct DecoderPlugin oggflac_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -210,7 +210,7 @@ static const char *const fluidsynth_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin fluidsynth_decoder_plugin = {
|
||||
const struct DecoderPlugin fluidsynth_decoder_plugin = {
|
||||
"fluidsynth",
|
||||
fluidsynth_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_FLUIDSYNTH_HXX
|
||||
#define MPD_DECODER_FLUIDSYNTH_HXX
|
||||
|
||||
extern const struct decoder_plugin fluidsynth_decoder_plugin;
|
||||
extern const struct DecoderPlugin fluidsynth_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -279,8 +279,8 @@ static const char *const gme_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
extern const struct decoder_plugin gme_decoder_plugin;
|
||||
const struct decoder_plugin gme_decoder_plugin = {
|
||||
extern const struct DecoderPlugin gme_decoder_plugin;
|
||||
const struct DecoderPlugin gme_decoder_plugin = {
|
||||
"gme",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_GME_HXX
|
||||
#define MPD_DECODER_GME_HXX
|
||||
|
||||
extern const struct decoder_plugin gme_decoder_plugin;
|
||||
extern const struct DecoderPlugin gme_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -1171,7 +1171,7 @@ mad_decoder_scan_stream(struct input_stream *is,
|
||||
static const char *const mp3_suffixes[] = { "mp3", "mp2", nullptr };
|
||||
static const char *const mp3_mime_types[] = { "audio/mpeg", nullptr };
|
||||
|
||||
const struct decoder_plugin mad_decoder_plugin = {
|
||||
const struct DecoderPlugin mad_decoder_plugin = {
|
||||
"mad",
|
||||
mp3_plugin_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_MAD_HXX
|
||||
#define MPD_DECODER_MAD_HXX
|
||||
|
||||
extern const struct decoder_plugin mad_decoder_plugin;
|
||||
extern const struct DecoderPlugin mad_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -234,7 +234,7 @@ static const char *const mikmod_decoder_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin mikmod_decoder_plugin = {
|
||||
const struct DecoderPlugin mikmod_decoder_plugin = {
|
||||
"mikmod",
|
||||
mikmod_decoder_init,
|
||||
mikmod_decoder_finish,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_MIKMOD_HXX
|
||||
#define MPD_DECODER_MIKMOD_HXX
|
||||
|
||||
extern const struct decoder_plugin mikmod_decoder_plugin;
|
||||
extern const struct DecoderPlugin mikmod_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -200,7 +200,7 @@ static const char *const mod_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin modplug_decoder_plugin = {
|
||||
const struct DecoderPlugin modplug_decoder_plugin = {
|
||||
"modplug",
|
||||
modplug_decoder_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_MODPLUG_HXX
|
||||
#define MPD_DECODER_MODPLUG_HXX
|
||||
|
||||
extern const struct decoder_plugin modplug_decoder_plugin;
|
||||
extern const struct DecoderPlugin modplug_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -267,7 +267,7 @@ mpcdec_scan_stream(struct input_stream *is,
|
||||
|
||||
static const char *const mpcdec_suffixes[] = { "mpc", nullptr };
|
||||
|
||||
const struct decoder_plugin mpcdec_decoder_plugin = {
|
||||
const struct DecoderPlugin mpcdec_decoder_plugin = {
|
||||
"mpcdec",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_MPCDEC_HXX
|
||||
#define MPD_DECODER_MPCDEC_HXX
|
||||
|
||||
extern const struct decoder_plugin mpcdec_decoder_plugin;
|
||||
extern const struct DecoderPlugin mpcdec_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -241,7 +241,7 @@ static const char *const mpg123_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin mpg123_decoder_plugin = {
|
||||
const struct DecoderPlugin mpg123_decoder_plugin = {
|
||||
"mpg123",
|
||||
mpd_mpg123_init,
|
||||
mpd_mpg123_finish,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_MPG123_HXX
|
||||
#define MPD_DECODER_MPG123_HXX
|
||||
|
||||
extern const struct decoder_plugin mpg123_decoder_plugin;
|
||||
extern const struct DecoderPlugin mpg123_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -389,7 +389,7 @@ static const char *const opus_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin opus_decoder_plugin = {
|
||||
const struct DecoderPlugin opus_decoder_plugin = {
|
||||
"opus",
|
||||
mpd_opus_init,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_OPUS_H
|
||||
#define MPD_DECODER_OPUS_H
|
||||
|
||||
extern const struct decoder_plugin opus_decoder_plugin;
|
||||
extern const struct DecoderPlugin opus_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -100,7 +100,7 @@ static const char *const pcm_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin pcm_decoder_plugin = {
|
||||
const struct DecoderPlugin pcm_decoder_plugin = {
|
||||
"pcm",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -28,6 +28,6 @@
|
||||
#ifndef MPD_DECODER_PCM_HXX
|
||||
#define MPD_DECODER_PCM_HXX
|
||||
|
||||
extern const struct decoder_plugin pcm_decoder_plugin;
|
||||
extern const struct DecoderPlugin pcm_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -420,8 +420,8 @@ static const char *const sidplay_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
extern const struct decoder_plugin sidplay_decoder_plugin;
|
||||
const struct decoder_plugin sidplay_decoder_plugin = {
|
||||
extern const struct DecoderPlugin sidplay_decoder_plugin;
|
||||
const struct DecoderPlugin sidplay_decoder_plugin = {
|
||||
"sidplay",
|
||||
sidplay_init,
|
||||
sidplay_finish,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_SIDPLAY_HXX
|
||||
#define MPD_DECODER_SIDPLAY_HXX
|
||||
|
||||
extern const struct decoder_plugin sidplay_decoder_plugin;
|
||||
extern const struct DecoderPlugin sidplay_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -246,7 +246,7 @@ static const char *const sndfile_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin sndfile_decoder_plugin = {
|
||||
const struct DecoderPlugin sndfile_decoder_plugin = {
|
||||
"sndfile",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_SNDFILE_HXX
|
||||
#define MPD_DECODER_SNDFILE_HXX
|
||||
|
||||
extern const struct decoder_plugin sndfile_decoder_plugin;
|
||||
extern const struct DecoderPlugin sndfile_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -338,7 +338,7 @@ static const char *const vorbis_mime_types[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
const struct decoder_plugin vorbis_decoder_plugin = {
|
||||
const struct DecoderPlugin vorbis_decoder_plugin = {
|
||||
"vorbis",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_VORBIS_H
|
||||
#define MPD_DECODER_VORBIS_H
|
||||
|
||||
extern const struct decoder_plugin vorbis_decoder_plugin;
|
||||
extern const struct DecoderPlugin vorbis_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -585,7 +585,7 @@ static char const *const wavpack_mime_types[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin wavpack_decoder_plugin = {
|
||||
const struct DecoderPlugin wavpack_decoder_plugin = {
|
||||
"wavpack",
|
||||
nullptr,
|
||||
nullptr,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_WAVPACK_HXX
|
||||
#define MPD_DECODER_WAVPACK_HXX
|
||||
|
||||
extern const struct decoder_plugin wavpack_decoder_plugin;
|
||||
extern const struct DecoderPlugin wavpack_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
@@ -144,7 +144,7 @@ static const char *const wildmidi_suffixes[] = {
|
||||
nullptr
|
||||
};
|
||||
|
||||
const struct decoder_plugin wildmidi_decoder_plugin = {
|
||||
const struct DecoderPlugin wildmidi_decoder_plugin = {
|
||||
"wildmidi",
|
||||
wildmidi_init,
|
||||
wildmidi_finish,
|
||||
|
@@ -20,6 +20,6 @@
|
||||
#ifndef MPD_DECODER_WILDMIDI_HXX
|
||||
#define MPD_DECODER_WILDMIDI_HXX
|
||||
|
||||
extern const struct decoder_plugin wildmidi_decoder_plugin;
|
||||
extern const struct DecoderPlugin wildmidi_decoder_plugin;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user