Skip to content

Commit

Permalink
Cleanup|Audio|Client: "Mus" module is no longer dependent on audiodri…
Browse files Browse the repository at this point in the history
…ver.h
  • Loading branch information
danij-deng committed Aug 9, 2015
1 parent f439692 commit 66726a6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions doomsday/apps/client/src/audio/s_mus.cpp
Expand Up @@ -29,7 +29,6 @@
#include "clientapp.h"
#include "dd_main.h" // isDedicated

#include "audio/audiodriver.h"
#include "audio/m_mus2midi.h"

#include <doomsday/console/cmd.h>
Expand Down Expand Up @@ -61,12 +60,8 @@ static String composeBufferFilename(String const &ext = "")
::needBufFileSwitch = false;
}

String name = BUFFERED_MUSIC_FILE + String::number(currentBufFile);
if(!ext.isEmpty())
{
return name + ext;
}
return name;
// Compose the name.
return BUFFERED_MUSIC_FILE + String::number(currentBufFile) + ext;
}

/**
Expand Down

0 comments on commit 66726a6

Please sign in to comment.