mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
basic cli interface
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@22 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
eb946dbdbe
commit
993d1bce74
21 changed files with 505 additions and 49 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue