<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pactl get-default-sink"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100714#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pactl get-default-sink"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100714">bug 100714</a>
from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
<pre>(In reply to Eric Toombs from <a href="show_bug.cgi?id=100714#c2">comment #2</a>)
<span class="quote">> I've since found @DEFAULT_SINK@. So looks like my first idea was already
> implemented. pactl get-default-sink would still be useful, though, for
> situations like
>
> % pacat -d "$(pactl get-default-sink).monitor" ...</span >
That particular example doesn't need any new features, because you can use
@DEFAULT_MONITOR@.
More generally, though, I think it would be nice if pactl would have more
fine-grained querying capabilities for situations where you need just one bit
of information in a script (also, the current info/list commands are not
guaranteed to not change their output format, so parsing pactl output in
scripts is a bit fragile).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>