summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-11 22:21:30 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-11 22:21:30 +0100
commit8c93bde7ec685a0124e518922a31c79d8b22ce17 (patch)
tree58020c44a8d6d31499403b1083b12f1abee897af /main.c
parent692ceb95e184f15a91f67bae4dbde565b1287f36 (diff)
first working version that runs without gui
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 99b67d89..252c403d 100644
--- a/main.c
+++ b/main.c
@@ -460,7 +460,7 @@ main (int argc, char *argv[]) {
codec_init_locking ();
streamer_init ();
// p_init ();
- thread_start (player_thread, 0);
+// thread_start (player_thread, 0);
volume_set_db (conf_get_float ("playback.volume", 0));
if (argc > 1) {
@@ -474,6 +474,8 @@ main (int argc, char *argv[]) {
}
}
+ player_thread (0);
+
// save config
pl_save (defpl);
conf_save ();