mapper: moved musicDir initialization from path.c

Moved the musicDir variable and its initialization code from path.c to
mapper.c.
This commit is contained in:
Max Kellermann
2008-10-15 19:36:33 +02:00
parent 76779f0fbe
commit 7366191f0d
5 changed files with 52 additions and 31 deletions

View File

@@ -26,6 +26,7 @@
#include "listen.h"
#include "conf.h"
#include "path.h"
#include "mapper.h"
#include "playerData.h"
#include "outputBuffer.h"
#include "decoder_thread.h"
@@ -410,6 +411,7 @@ int main(int argc, char *argv[])
open_log_files(options.stdOutput);
initPaths();
mapper_init();
initPermissions();
initPlaylist();
decoder_plugin_init_all();
@@ -477,6 +479,7 @@ int main(int argc, char *argv[])
finishAudioDriver();
finishAudioConfig();
finishVolume();
mapper_finish();
finishPaths();
finishPermissions();
dc_deinit();