Lines Matching +full:128 +full:hz
23 int hz; member
58 133, 128, 122, 117, 113, 110, 107, 105,
69 -103, -105, -107, -110, -113, -117, -122, -128,
82 #define BEEP_SRATE 22050 /* 22050 Hz sample rate */
87 unsigned int code, int hz) in snd_pmac_beep_event() argument
102 case SND_BELL: if (hz) hz = 1000; break; in snd_pmac_beep_event()
114 if (! hz) { in snd_pmac_beep_event()
125 if (hz <= srate / BEEP_BUFLEN || hz > srate / 2) in snd_pmac_beep_event()
126 hz = 1000; in snd_pmac_beep_event()
136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
139 period = srate * 256 / hz; /* fixed point */ in snd_pmac_beep_event()
149 beep->hz = hz; in snd_pmac_beep_event()