[pulseaudio-commits] r1093 - /trunk/src/utils/pactl.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Jul 16 10:29:10 PDT 2006
Author: lennart
Date: Sun Jul 16 19:29:09 2006
New Revision: 1093
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1093&root=pulseaudio&view=rev
Log:
show value of PA_SINK_HARDWARE/PA_SOURCE_HARDWARE in pactl
Modified:
trunk/src/utils/pactl.c
Modified: trunk/src/utils/pactl.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/utils/pactl.c?rev=1093&root=pulseaudio&r1=1092&r2=1093&view=diff
==============================================================================
--- trunk/src/utils/pactl.c (original)
+++ trunk/src/utils/pactl.c Sun Jul 16 19:29:09 2006
@@ -174,7 +174,7 @@
"Volume: %s\n"
"Monitor Source: %u\n"
"Latency: %0.0f usec\n"
- "Flags: %s%s\n",
+ "Flags: %s%s%s\n",
i->index,
i->name,
i->driver,
@@ -186,7 +186,8 @@
i->monitor_source,
(double) i->latency,
i->flags & PA_SINK_HW_VOLUME_CTRL ? "HW_VOLUME_CTRL " : "",
- i->flags & PA_SINK_LATENCY ? "LATENCY" : "");
+ i->flags & PA_SINK_LATENCY ? "LATENCY " : "",
+ i->flags & PA_SINK_HARDWARE ? "HARDWARE" : "");
}
@@ -222,7 +223,7 @@
"Volume: %s\n"
"Monitor of Sink: %s\n"
"Latency: %0.0f usec\n"
- "Flags: %s%s\n",
+ "Flags: %s%s%s\n",
i->index,
i->driver,
i->name,
@@ -234,7 +235,8 @@
i->monitor_of_sink != PA_INVALID_INDEX ? t : "no",
(double) i->latency,
i->flags & PA_SOURCE_HW_VOLUME_CTRL ? "HW_VOLUME_CTRL " : "",
- i->flags & PA_SOURCE_LATENCY ? "LATENCY" : "");
+ i->flags & PA_SOURCE_LATENCY ? "LATENCY " : "",
+ i->flags & PA_SOURCE_HARDWARE ? "HARDWARE" : "");
}
More information about the pulseaudio-commits
mailing list