[Bug 245156] audio/pulseaudio: parse /dev/sndstat correctly to get device name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 3 11:41:19 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245156

Greg V <greg at unrelenting.technology> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg at unrelenting.technology

--- Comment #14 from Greg V <greg at unrelenting.technology> ---
Hi, I'm working on an upstream merge request:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277

I've included a solution for this that hopefully doesn't break Linux OSS or
other BSDs (?), and does not use VLAs (variable-length arrays, which are not
standard C) like `char desc[len + 1]` in attachment 213006:

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/94a781060e64cb871c0f2d3ee768123dd904f0a8?merge_request_iid=277

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-gnome mailing list