sparse: move extern declarations for plugins into header files
git-svn-id: https://svn.musicpd.org/mpd/trunk@5261 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
0a6d48c28e
commit
53427fb3d4
@ -89,15 +89,6 @@ int cmpAudioFormat(AudioFormat * f1, AudioFormat * f2)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern AudioOutputPlugin alsaPlugin;
|
|
||||||
extern AudioOutputPlugin aoPlugin;
|
|
||||||
extern AudioOutputPlugin ossPlugin;
|
|
||||||
extern AudioOutputPlugin osxPlugin;
|
|
||||||
extern AudioOutputPlugin pulsePlugin;
|
|
||||||
extern AudioOutputPlugin mvpPlugin;
|
|
||||||
extern AudioOutputPlugin shoutPlugin;
|
|
||||||
extern AudioOutputPlugin jackPlugin;
|
|
||||||
|
|
||||||
void loadAudioDrivers(void)
|
void loadAudioDrivers(void)
|
||||||
{
|
{
|
||||||
initAudioOutputPlugins();
|
initAudioOutputPlugins();
|
||||||
|
@ -102,4 +102,14 @@ int keepAudioOutputAlive(AudioOutput * audioOutput, int ms);
|
|||||||
void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag);
|
void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag);
|
||||||
|
|
||||||
void printAllOutputPluginTypes(FILE * fp);
|
void printAllOutputPluginTypes(FILE * fp);
|
||||||
|
|
||||||
|
extern AudioOutputPlugin alsaPlugin;
|
||||||
|
extern AudioOutputPlugin aoPlugin;
|
||||||
|
extern AudioOutputPlugin ossPlugin;
|
||||||
|
extern AudioOutputPlugin osxPlugin;
|
||||||
|
extern AudioOutputPlugin pulsePlugin;
|
||||||
|
extern AudioOutputPlugin mvpPlugin;
|
||||||
|
extern AudioOutputPlugin shoutPlugin;
|
||||||
|
extern AudioOutputPlugin jackPlugin;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -137,16 +137,6 @@ void printAllInputPluginSuffixes(FILE * fp)
|
|||||||
fflush(fp);
|
fflush(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern InputPlugin mp3Plugin;
|
|
||||||
extern InputPlugin oggvorbisPlugin;
|
|
||||||
extern InputPlugin flacPlugin;
|
|
||||||
extern InputPlugin oggflacPlugin;
|
|
||||||
extern InputPlugin audiofilePlugin;
|
|
||||||
extern InputPlugin mp4Plugin;
|
|
||||||
extern InputPlugin mpcPlugin;
|
|
||||||
extern InputPlugin aacPlugin;
|
|
||||||
extern InputPlugin modPlugin;
|
|
||||||
|
|
||||||
void initInputPlugins(void)
|
void initInputPlugins(void)
|
||||||
{
|
{
|
||||||
inputPlugin_list = makeList(NULL, 1);
|
inputPlugin_list = makeList(NULL, 1);
|
||||||
|
@ -96,4 +96,14 @@ void initInputPlugins(void);
|
|||||||
/* this is where we "unload" all the "plugins" */
|
/* this is where we "unload" all the "plugins" */
|
||||||
void finishInputPlugins(void);
|
void finishInputPlugins(void);
|
||||||
|
|
||||||
|
extern InputPlugin mp3Plugin;
|
||||||
|
extern InputPlugin oggvorbisPlugin;
|
||||||
|
extern InputPlugin flacPlugin;
|
||||||
|
extern InputPlugin oggflacPlugin;
|
||||||
|
extern InputPlugin audiofilePlugin;
|
||||||
|
extern InputPlugin mp4Plugin;
|
||||||
|
extern InputPlugin mpcPlugin;
|
||||||
|
extern InputPlugin aacPlugin;
|
||||||
|
extern InputPlugin modPlugin;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user