diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-07-16 17:29:09 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-07-16 17:29:09 +0000 |
commit | 3b2843d5a8d50d6f9c3f5bedd63e3cc429c7ea13 (patch) | |
tree | f00ee76c8e8f06526417bafc224c78d14d79ea71 | |
parent | b91dd2381bffeb0a4b5450ef4ce1f0031909f79a (diff) |
show value of PA_SINK_HARDWARE/PA_SOURCE_HARDWARE in pactl
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1093 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/utils/pactl.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 94d22f98..25ef324d 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -174,7 +174,7 @@ static void get_sink_info_callback(pa_context *c, const pa_sink_info *i, int is_ "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 @@ static void get_sink_info_callback(pa_context *c, const pa_sink_info *i, int is_ 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 @@ static void get_source_info_callback(pa_context *c, const pa_source_info *i, int "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 @@ static void get_source_info_callback(pa_context *c, const pa_source_info *i, int 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" : ""); } |