From e1b03b4a716dbb35a737d34fba531e623f7980f3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 20 Jan 2013 17:48:23 +0100 Subject: PlayerControl: move functions into the class --- src/Main.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main.cxx') 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; -- cgit v1.2.3