Searched refs:loudness (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/hurd/
H A Dhurd_bell.c34 xf86OSRingBell(int loudness, int pitch, int duration) argument
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/hurd/
H A Dhurd_bell.c34 xf86OSRingBell(int loudness, int pitch, int duration) argument
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/stub/
H A Dstub_bell.c8 xf86OSRingBell(int loudness, int pitch, int duration) argument
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
H A Dlnx_bell.c38 xf86OSRingBell(int loudness, int pitch, int duration) argument
40 if (xf86Info.consoleFd == -1 || !pitch || !loudness)
45 (((unsigned long)duration * loudness / 50) << 16));
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/
H A Dlnx_bell.c38 xf86OSRingBell(int loudness, int pitch, int duration) argument
40 if (xf86Info.consoleFd == -1 || !pitch || !loudness)
45 (((unsigned long) duration * loudness / 50) << 16));
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
H A Dbsd_bell.c45 xf86OSRingBell(int loudness, int pitch, int duration) argument
51 if (loudness && pitch)
62 data[1] = (duration * loudness) / 50;
71 (((unsigned long)duration*loudness/50)<<16));
79 wsb.volume = loudness;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/
H A Dbsd_bell.c41 xf86OSRingBell(int loudness, int pitch, int duration) argument
47 if (loudness && pitch) {
57 data[1] = (duration * loudness) / 50;
66 (((unsigned long) duration * loudness / 50) << 16));
74 wsb.volume = loudness;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c46 xf86OSRingBell(int loudness, int pitch, int duration) argument
62 if ((loudness <= 0) || (pitch <= 0) || (duration <= 0)) {
103 loudness = max(0, loudness);
104 loudness = min(loudness, 100);
108 freq, loudness, duration, repeats);
116 audioInfo.play.gain = min(AUDIO_MAX_GAIN, AUDIO_MAX_GAIN * loudness / 100);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c46 xf86OSRingBell(int loudness, int pitch, int duration) argument
62 if ((loudness <= 0) || (pitch <= 0) || (duration <= 0)) {
103 loudness = max(0, loudness);
104 loudness = min(loudness, 100);
108 freq, loudness, duration, repeats);
116 audioInfo.play.gain = min(AUDIO_MAX_GAIN, AUDIO_MAX_GAIN * loudness / 100);
/xsrc/external/mit/xf86-input-keyboard/dist/src/
H A Dxf86OSKbd.h44 int loudness, int pitch, int duration);
H A Dbsd_kbd.c291 SoundBell(InputInfoPtr pInfo, int loudness, int pitch, int duration) argument
298 if (loudness && pitch) {
304 data[1] = (duration * loudness) / 50;
314 (((unsigned long)duration*loudness/50)<<16));
322 wsb.volume = loudness;
H A Dhurd_kbd.c81 SoundKbdBell(InputInfoPtr pInfo, int loudness,int pitch,int duration) argument
H A Dsun_kbd.c330 SoundKbdBell(InputInfoPtr pInfo, int loudness, int pitch, int duration) argument
338 if (loudness && pitch)
351 mktonevalue = cycles | (((duration * loudness * 20) / 1000) << 16);
374 usleep(duration * loudness * 20);

Completed in 11 milliseconds