basic cli interface

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@22 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-06-18 00:22:37 +00:00
parent eb946dbdbe
commit 993d1bce74
21 changed files with 505 additions and 49 deletions

View file

@ -205,7 +205,7 @@ static void on_connection(struct socket_server*s, struct iochannel *io, void *us
struct source *source;
size_t l;
if (!(source = core_get_default_source(p->core))) {
if (!(source = source_get_default(p->core))) {
fprintf(stderr, "Failed to get default source.\n");
goto fail;
}
@ -224,7 +224,7 @@ static void on_connection(struct socket_server*s, struct iochannel *io, void *us
struct sink *sink;
size_t l;
if (!(sink = core_get_default_sink(p->core))) {
if (!(sink = sink_get_default(p->core))) {
fprintf(stderr, "Failed to get default sink.\n");
goto fail;
}