PlayerThread: rename player_create() to StartPlayerThread()
This commit is contained in:
parent
a9f6556454
commit
6e84a03a35
|
@ -573,7 +573,7 @@ int mpd_main(int argc, char *argv[])
|
|||
|
||||
ZeroconfInit(*instance->event_loop);
|
||||
|
||||
player_create(instance->partition->pc);
|
||||
StartPlayerThread(instance->partition->pc);
|
||||
|
||||
#ifdef ENABLE_DATABASE
|
||||
if (create_db) {
|
||||
|
|
|
@ -1191,7 +1191,7 @@ player_task(void *arg)
|
|||
}
|
||||
|
||||
void
|
||||
player_create(PlayerControl &pc)
|
||||
StartPlayerThread(PlayerControl &pc)
|
||||
{
|
||||
assert(!pc.thread.IsDefined());
|
||||
|
||||
|
|
|
@ -40,6 +40,6 @@
|
|||
struct PlayerControl;
|
||||
|
||||
void
|
||||
player_create(PlayerControl &pc);
|
||||
StartPlayerThread(PlayerControl &pc);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue