[Bug 242885] devel/qt5-core: QApplication::beep() doesn't beep

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 25 20:52:12 GMT 2019


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

Tobias C. Berner <tcberner at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(kde at Fr |maintainer-feedback+
                   |eeBSD.org)                  |
                 CC|                            |tcberner at freebsd.org

--- Comment #1 from Tobias C. Berner <tcberner at freebsd.org> ---
Hi Yuri

This is likely not related to Qt.

Please try to run the following code [1]
#include <X11/Xlib.h>
int main(int argc, char** argv) {
        Display* display = XOpenDisplay(NULL);
        XBell(display, 4000);
        XFlush(display);
}
##

I assume you won't hear a beep either. 

=> check the output of `mixer`, for the presence of the `speaker` channel.
For example you can do  [2]
foreach f (/dev/mixer*) 
echo $f ; mixer -f $f
end

=> check that you actually have a mixer with a `speaker` device, and increase
its volume to something higher than 0 :D


mfg Tobias

[1] clang++ main.cc -I/usr/local/include -L/usr/local/lib -lX11  
[2] 
/dev/mixer0
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer ogain    is currently set to 100:100
/dev/mixer1
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
Mixer ogain    is currently set to 100:100
/dev/mixer2
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100

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


More information about the kde-freebsd mailing list