Load shout first instead of last. This makes it more likely to block other
outputs, which is actually desired behaviour. This way if the shout server takes a while to respond, the shout output can block until connected without messing up other audio outputs. git-svn-id: https://svn.musicpd.org/mpd/trunk@6554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
2d8f36cefb
commit
bd0620ff72
@ -92,6 +92,7 @@ int cmpAudioFormat(AudioFormat * f1, AudioFormat * f2)
|
||||
void loadAudioDrivers(void)
|
||||
{
|
||||
initAudioOutputPlugins();
|
||||
loadAudioOutputPlugin(&shoutPlugin);
|
||||
loadAudioOutputPlugin(&nullPlugin);
|
||||
loadAudioOutputPlugin(&alsaPlugin);
|
||||
loadAudioOutputPlugin(&aoPlugin);
|
||||
@ -100,7 +101,6 @@ void loadAudioDrivers(void)
|
||||
loadAudioOutputPlugin(&pulsePlugin);
|
||||
loadAudioOutputPlugin(&mvpPlugin);
|
||||
loadAudioOutputPlugin(&jackPlugin);
|
||||
loadAudioOutputPlugin(&shoutPlugin);
|
||||
}
|
||||
|
||||
/* make sure initPlayerData is called before this function!! */
|
||||
|
@ -105,6 +105,7 @@ void sendMetadataToAudioOutput(AudioOutput * audioOutput, MpdTag * tag);
|
||||
|
||||
void printAllOutputPluginTypes(FILE * fp);
|
||||
|
||||
extern AudioOutputPlugin shoutPlugin;
|
||||
extern AudioOutputPlugin nullPlugin;
|
||||
extern AudioOutputPlugin alsaPlugin;
|
||||
extern AudioOutputPlugin aoPlugin;
|
||||
@ -113,6 +114,5 @@ extern AudioOutputPlugin osxPlugin;
|
||||
extern AudioOutputPlugin pulsePlugin;
|
||||
extern AudioOutputPlugin mvpPlugin;
|
||||
extern AudioOutputPlugin jackPlugin;
|
||||
extern AudioOutputPlugin shoutPlugin;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user