/*
- * Copyright (C) 2005-2006 Andre Noll <noll@mathematik.tu-darmstadt.de>
+ * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (tv_diff(now, &st->clock_diff_barrier, NULL) < 0)
return;
PARA_INFO_LOG("clock diff count: %d\n", st->clock_diff_count);
- t->ret = client_parse_config(argc, argv, &st->pcd);
+ t->ret = client_open(argc, argv, &st->pcd);
} else {
char *argv[] = {"audiod", "stat", NULL};
int argc = 2;
- t->ret = client_parse_config(argc, argv, &st->pcd);
+ t->ret = client_open(argc, argv, &st->pcd);
}
- if (t->ret < 0)
- return;
- t->ret = client_open(st->pcd);
if (t->ret < 0)
return;
st->pcd->task.event_handler = client_task_event_handler;