]> git.sur5r.net Git - i3/i3status/commit
OpenBSD: fix volume display on some hardware 266/head
authorCarlin Bingham <cb@viennan.net>
Mon, 12 Feb 2018 13:12:04 +0000 (02:12 +1300)
committerCarlin Bingham <cb@viennan.net>
Mon, 12 Feb 2018 13:12:04 +0000 (02:12 +1300)
commit5b416d4ac00caf6028416999d3cef3b997d33f3b
tree0b1dce6701fa6ddef71580586390f6197a72c17e
parent0880b0ec03a7201c2bf178ee7613dcb9eec48fd2
OpenBSD: fix volume display on some hardware

On some hardware the AUDIO_MIXER_READ ioctl requires the current number
of channels to be set, and the mute device found needs to be checked if
it belongs to the master output device.
src/print_volume.c