PlayerControl: move functions into the class

This commit is contained in:
Max Kellermann
2013-01-20 17:48:23 +01:00
parent e6ed592b8a
commit e1b03b4a71
14 changed files with 351 additions and 416 deletions

View File

@@ -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;