libsaria: Remove old play_id() function

Nothing uses it anymore
This commit is contained in:
Bryan Schumaker 2011-12-29 15:35:06 -05:00
parent 17e4f3f2ca
commit fb0084c275
2 changed files with 0 additions and 11 deletions

View File

@ -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 &));

View File

@ -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;