Removed unused constructor sound::music_track.
This commit is contained in:
parent
9607325744
commit
15cc0203d0
2 changed files with 0 additions and 23 deletions
|
@ -77,22 +77,6 @@ music_track::music_track(const std::string& v_name) :
|
|||
}
|
||||
}
|
||||
|
||||
music_track::music_track(const std::string& v_name, unsigned int v_ms_before, unsigned int v_ms_after, bool v_once, bool v_append, bool v_immediate) :
|
||||
id_(v_name),
|
||||
file_path_(""),
|
||||
ms_before_(v_ms_before),
|
||||
ms_after_(v_ms_after),
|
||||
once_(v_once),
|
||||
append_(v_append),
|
||||
immediate_(v_immediate)
|
||||
{
|
||||
if(id_.empty()) {
|
||||
ERR_AUDIO << "empty track filename specified\n";
|
||||
} else {
|
||||
this->resolve();
|
||||
}
|
||||
}
|
||||
|
||||
music_track::music_track(const music_track& mt) :
|
||||
id_(mt.id_),
|
||||
file_path_(mt.file_path_),
|
||||
|
|
|
@ -32,13 +32,6 @@ public:
|
|||
music_track(const music_track& mt);
|
||||
music_track(const config& node);
|
||||
music_track(const std::string& v_name);
|
||||
music_track(const std::string& v_name,
|
||||
unsigned int v_ms_before,
|
||||
unsigned int v_ms_after,
|
||||
bool v_once = false,
|
||||
bool v_append = false,
|
||||
bool v_immediate = false
|
||||
);
|
||||
void write(config& parent_node, bool append);
|
||||
|
||||
bool valid() const { return file_path_.empty() != true; }
|
||||
|
|
Loading…
Add table
Reference in a new issue