summaryrefslogtreecommitdiffstats
path: root/polyp/cli-text.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-12 19:37:04 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-12 19:37:04 +0000
commitb772564a4eeab6d32ba9b7be9fb9beed1c12c999 (patch)
treef9a00e7c5d253cfdbfdc12edbfb7d31efce168f3 /polyp/cli-text.c
parentf05a4ac806d8d44ab1377ea2069abb1da7ab9d16 (diff)
update simple API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@193 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/cli-text.c')
-rw-r--r--polyp/cli-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/cli-text.c b/polyp/cli-text.c
index 1d6711df..2a48d576 100644
--- a/polyp/cli-text.c
+++ b/polyp/cli-text.c
@@ -93,7 +93,7 @@ char *pa_sink_list_to_string(struct pa_core *c) {
assert(sink->monitor_source);
pa_strbuf_printf(
s,
- " %c index: %u\n\tname: <%s>\n\tvolume: <0x%04x> (%0.2fdB)\n\tlatency: <%f usec>\n\tmonitor_source: <%u>\n\tsample_spec: <%s>\n",
+ " %c index: %u\n\tname: <%s>\n\tvolume: <0x%04x> (%0.2fdB)\n\tlatency: <%0.0f usec>\n\tmonitor_source: <%u>\n\tsample_spec: <%s>\n",
c->default_sink_name && !strcmp(sink->name, c->default_sink_name) ? '*' : ' ',
sink->index, sink->name,
(unsigned) sink->volume,
@@ -189,7 +189,7 @@ char *pa_sink_input_list_to_string(struct pa_core *c) {
pa_sample_spec_snprint(ss, sizeof(ss), &i->sample_spec);
assert(i->sink);
pa_strbuf_printf(
- s, " index: %u\n\tname: <%s>\n\tsink: <%u>\n\tvolume: <0x%04x> (%0.2fdB)\n\tlatency: <%f usec>\n\tsample_spec: <%s>\n",
+ s, " index: %u\n\tname: <%s>\n\tsink: <%u>\n\tvolume: <0x%04x> (%0.2fdB)\n\tlatency: <%0.0f usec>\n\tsample_spec: <%s>\n",
i->index,
i->name,
i->sink->index,