libsaria: Remove old play_id() function
Nothing uses it anymore
This commit is contained in:
parent
17e4f3f2ca
commit
fb0084c275
|
@ -34,7 +34,6 @@ namespace libsaria
|
|||
string next_file();
|
||||
void add_path(string);
|
||||
void remove_path(string);
|
||||
void play_id(sid_t &);
|
||||
string find_filepath(sid_t &);
|
||||
Track *get_info(sid_t &);
|
||||
void for_each_path(void (*)(struct PathInfo &));
|
||||
|
|
|
@ -50,16 +50,6 @@ namespace libsaria
|
|||
play_list.sort(compare_tracks);
|
||||
}
|
||||
|
||||
void library::play_id(sid_t &id)
|
||||
{
|
||||
list<libsaria::Track *>::iterator it;
|
||||
if (find_id(id, it)) {
|
||||
cur_track = it;
|
||||
libsaria::audio::load((*it)->get_filepath());
|
||||
libsaria::audio::play();
|
||||
}
|
||||
}
|
||||
|
||||
Track *library::get_info(sid_t &id)
|
||||
{
|
||||
list<libsaria::Track *>::iterator it;
|
||||
|
|
Loading…
Reference in New Issue