| Summary: | Macros: Beep emits sound even if playback device is muted | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Miklos Vajna <vmiklos> |
| Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | thomas-libo |
| Priority: | medium | ||
| Version: | 4.2.0.0.alpha0+ Master | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Miklos Vajna
2013-08-12 07:22:06 UTC
Nothing to do with libreoffice really, that beep should route to either of these two beep impls...
//gtk
void GtkSalFrame::Beep()
{
gdk_display_beep( getGdkDisplay() );
}
//generic
void SalDisplay::Beep() const
{
XBell( pDisp_, 100 );
}
where presumably gtk just calls XBell as well, see if the following beeps for you as well...
#include <X11/Xlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
Display *display;
Window window;
/* open connection with the server */
display = XOpenDisplay(NULL);
if (display == NULL)
{
fprintf(stderr, "Cannot open display\n");
exit(1);
}
XBell(display, 100);
/* close connection to server */
XCloseDisplay(display);
return 0;
}
Oh, indeed. Yes, the above beeps as well. And tweaking pulseaudio to capture XBell is possible: https://bugzilla.redhat.com/show_bug.cgi?id=607393#c15 So not a bug on our side. |