[pulseaudio-tickets] [Bug 100714] pactl get-default-sink

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 18 18:40:13 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100714

--- Comment #3 from Tanu Kaskinen <tanuk at iki.fi> ---
(In reply to Eric Toombs from comment #2)
> I've since found @DEFAULT_SINK at . 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" ...

That particular example doesn't need any new features, because you can use
@DEFAULT_MONITOR at .

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).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170418/a88650b8/attachment.html>


More information about the pulseaudio-bugs mailing list