diff options
author | Max Kellermann <max@duempel.org> | 2008-10-15 19:36:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-15 19:36:33 +0200 |
commit | 7366191f0d0d5c50ee051a3b60fc31ad86bce721 (patch) | |
tree | 5b9d9280d0d93fe6779719e2796e790e1f95eb8c /src/main.c | |
parent | 76779f0fbe195d4334fdd56d0f36630a4eca5240 (diff) |
mapper: moved musicDir initialization from path.c
Moved the musicDir variable and its initialization code from path.c to
mapper.c.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 1a7e73254..21efb871f 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); |