aboutsummaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-20 17:48:23 +0100
committerMax Kellermann <max@duempel.org>2013-01-20 17:48:23 +0100
commite1b03b4a716dbb35a737d34fba531e623f7980f3 (patch)
treeac2143b4b3122d594000a70b51ca29fb2c937307 /src/Main.cxx
parente6ed592b8aeb5025be0893ee99ff44e46a9ffd1c (diff)
PlayerControl: move functions into the class
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index ef78c92b..6d4fc82d 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -509,7 +509,7 @@ int mpd_main(int argc, char *argv[])
/* enable all audio outputs (if not already done by
playlist_state_restore() */
- pc_update_audio(&global_partition->pc);
+ global_partition->pc.UpdateAudio();
#ifdef WIN32
win32_app_started();
@@ -535,7 +535,7 @@ int mpd_main(int argc, char *argv[])
delete state_file;
}
- pc_kill(&global_partition->pc);
+ global_partition->pc.Kill();
finishZeroconf();
listen_global_finish();
delete client_list;