[pulseaudio-commits] r2226 - /branches/glitch-free/src/pulsecore/cli-text.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Apr 8 18:17:17 PDT 2008
Author: lennart
Date: Wed Apr 9 03:17:16 2008
New Revision: 2226
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2226&root=pulseaudio&view=rev
Log:
show configured latency and its ranges
Modified:
branches/glitch-free/src/pulsecore/cli-text.c
Modified: branches/glitch-free/src/pulsecore/cli-text.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/cli-text.c?rev=2226&root=pulseaudio&r1=2225&r2=2226&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/cli-text.c (original)
+++ branches/glitch-free/src/pulsecore/cli-text.c Wed Apr 9 03:17:16 2008
@@ -128,6 +128,7 @@
"\tvolume: <%s>\n"
"\tmute: <%i>\n"
"\tlatency: <%0.0f usec>\n"
+ "\tconfigured latency: <%0.0f usec> from range <%0.0f usec> .. <%0.0f usec>\n"
"\tmonitor source: <%u>\n"
"\tsample spec: <%s>\n"
"\tchannel map: <%s>\n"
@@ -147,6 +148,7 @@
pa_cvolume_snprint(cv, sizeof(cv), pa_sink_get_volume(sink)),
!!pa_sink_get_mute(sink),
(double) pa_sink_get_latency(sink),
+ (double) pa_sink_get_requested_latency(sink), (double) sink->min_latency, (double) sink->max_latency,
sink->monitor_source ? sink->monitor_source->index : PA_INVALID_INDEX,
pa_sample_spec_snprint(ss, sizeof(ss), &sink->sample_spec),
pa_channel_map_snprint(cm, sizeof(cm), &sink->channel_map),
@@ -194,6 +196,7 @@
"\tvolume: <%s>\n"
"\tmute: <%u>\n"
"\tlatency: <%0.0f usec>\n"
+ "\tconfigured latency: <%0.0f usec> from range <%0.0f usec> .. <%0.0f usec>\n"
"\tsample spec: <%s>\n"
"\tchannel map: <%s>\n"
"\tused by: <%u>\n"
@@ -212,6 +215,7 @@
pa_cvolume_snprint(cv, sizeof(cv), pa_source_get_volume(source)),
!!pa_source_get_mute(source),
(double) pa_source_get_latency(source),
+ (double) pa_source_get_requested_latency(source), (double) source->min_latency, (double) source->max_latency,
pa_sample_spec_snprint(ss, sizeof(ss), &source->sample_spec),
pa_channel_map_snprint(cm, sizeof(cm), &source->channel_map),
pa_source_used_by(source),
More information about the pulseaudio-commits
mailing list