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