diff options
author | Max Kellermann <max@duempel.org> | 2014-08-16 10:33:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-16 10:33:19 +0200 |
commit | 6e84a03a356d07209210db851aa65f587d24d3bf (patch) | |
tree | c39d228c9efc4a415f2dfd2be8414ea5c43f0d7e /src | |
parent | a9f65564547f40d43b6163734e6141668cd429bb (diff) | |
download | mpd-6e84a03a356d07209210db851aa65f587d24d3bf.tar.gz mpd-6e84a03a356d07209210db851aa65f587d24d3bf.tar.xz mpd-6e84a03a356d07209210db851aa65f587d24d3bf.zip |
PlayerThread: rename player_create() to StartPlayerThread()
Diffstat (limited to '')
-rw-r--r-- | src/Main.cxx | 2 | ||||
-rw-r--r-- | src/PlayerThread.cxx | 2 | ||||
-rw-r--r-- | src/PlayerThread.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 2ce81bc3e..d8dbdb5d2 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -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) { diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 00f8b5f78..8a39ed348 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -1191,7 +1191,7 @@ player_task(void *arg) } void -player_create(PlayerControl &pc) +StartPlayerThread(PlayerControl &pc) { assert(!pc.thread.IsDefined()); diff --git a/src/PlayerThread.hxx b/src/PlayerThread.hxx index 2fb0b1430..537e38399 100644 --- a/src/PlayerThread.hxx +++ b/src/PlayerThread.hxx @@ -40,6 +40,6 @@ struct PlayerControl; void -player_create(PlayerControl &pc); +StartPlayerThread(PlayerControl &pc); #endif |