diff options
author | ben <benjaminfranzke@googlemail.com> | 2010-07-13 18:06:41 +0200 |
---|---|---|
committer | ben <benjaminfranzke@googlemail.com> | 2010-07-13 18:06:41 +0200 |
commit | 49c29950a85818f4b516a9c4c4f80c05214238a2 (patch) | |
tree | 32905da5ff7b287174c5eb6dc1f4e90dbca8446a /src/pa-sink-ctl.c | |
parent | e81e3842b6c2b9418de5f826452f3aa8f51d6563 (diff) | |
parent | aa7ef2d6681b05deb458e4dc94a4a9cc8940790e (diff) | |
download | pa-sink-ctl-49c29950a85818f4b516a9c4c4f80c05214238a2.tar.gz pa-sink-ctl-49c29950a85818f4b516a9c4c4f80c05214238a2.tar.bz2 pa-sink-ctl-49c29950a85818f4b516a9c4c4f80c05214238a2.zip |
Merge branch 'master' of gitorious.org:pa-sink-ctl/pa-sink-ctl
Diffstat (limited to 'src/pa-sink-ctl.c')
-rw-r--r-- | src/pa-sink-ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c index 164755b..e70c144 100644 --- a/src/pa-sink-ctl.c +++ b/src/pa-sink-ctl.c @@ -114,6 +114,8 @@ void get_sink_info_callback(pa_context *c, const pa_sink_info *i, int is_last, v sink_list[sink_counter]->vol = pa_cvolume_avg(&i->volume); sink_list[sink_counter]->channels = i->volume.channels; sink_list[sink_counter]->name = strdup(i->name); + sink_list[sink_counter]->device = strdup(pa_proplist_gets(i->proplist, "device.product.name")); + ++sink_counter; } |