Home
last modified time | relevance | path

Searched refs:frequency_hz (Results 1 – 25 of 39) sorted by relevance

12

/external/u-boot/arch/x86/lib/
Di8254.c16 static void i8254_set_beep_freq(uint frequency_hz) in i8254_set_beep_freq() argument
20 countdown = PIT_TICK_RATE / frequency_hz; in i8254_set_beep_freq()
49 int i8254_enable_beep(uint frequency_hz) in i8254_enable_beep() argument
51 if (!frequency_hz) in i8254_enable_beep()
58 i8254_set_beep_freq(frequency_hz); in i8254_enable_beep()
/external/u-boot/drivers/sound/
Dsound-uclass.c34 int sound_start_beep(struct udevice *dev, int frequency_hz) in sound_start_beep() argument
41 return ops->start_beep(dev, frequency_hz); in sound_start_beep()
54 int sound_beep(struct udevice *dev, int msecs, int frequency_hz) in sound_beep() argument
67 ret = sound_start_beep(dev, frequency_hz); in sound_beep()
88 frequency_hz, i2s_uc_priv->channels); in sound_beep()
Dsandbox.c32 int frequency_hz; /* Beep frequency if active, else 0 */ member
80 return priv->frequency_hz; in sandbox_get_beep_frequency()
166 int sandbox_sound_start_beep(struct udevice *dev, int frequency_hz) in sandbox_sound_start_beep() argument
172 priv->frequency_hz = frequency_hz; in sandbox_sound_start_beep()
183 priv->frequency_hz = 0; in sandbox_sound_stop_beep()
Di8254_beep.c11 int i8254_start_beep(struct udevice *dev, int frequency_hz) in i8254_start_beep() argument
13 return i8254_enable_beep(frequency_hz); in i8254_start_beep()
Dhda_codec.c500 int hda_codec_start_beep(struct udevice *dev, int frequency_hz) in hda_codec_start_beep() argument
510 if (!frequency_hz) in hda_codec_start_beep()
512 else if (frequency_hz > BEEP_FREQ_BASE) in hda_codec_start_beep()
514 else if (frequency_hz < BEEP_FREQ_BASE / 0xff) in hda_codec_start_beep()
517 divider_val = 0xff & (BEEP_FREQ_BASE / frequency_hz); in hda_codec_start_beep()
Divybridge_sound.c109 int bd82x6x_azalia_start_beep(struct udevice *dev, int frequency_hz) in bd82x6x_azalia_start_beep() argument
111 return hda_codec_start_beep(dev, frequency_hz); in bd82x6x_azalia_start_beep()
/external/u-boot/include/
Dsound.h81 int (*start_beep)(struct udevice *dev, int frequency_hz);
109 int sound_beep(struct udevice *dev, int msecs, int frequency_hz);
121 int sound_start_beep(struct udevice *dev, int frequency_hz);
Dhda_codec.h71 int hda_codec_start_beep(struct udevice *dev, int frequency_hz);
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c176 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz) { in WebRtcOpus_SetMaxPlaybackRate() argument
182 if (frequency_hz <= 8000) { in WebRtcOpus_SetMaxPlaybackRate()
184 } else if (frequency_hz <= 12000) { in WebRtcOpus_SetMaxPlaybackRate()
186 } else if (frequency_hz <= 16000) { in WebRtcOpus_SetMaxPlaybackRate()
188 } else if (frequency_hz <= 24000) { in WebRtcOpus_SetMaxPlaybackRate()
Daudio_encoder_opus.cc192 void AudioEncoderOpus::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
194 conf.max_playback_rate_hz = frequency_hz; in SetMaxPlaybackRate()
/external/webrtc/webrtc/modules/audio_coding/test/
Dopus_test.cc64 uint16_t frequency_hz; in Perform()
73 frequency_hz = 32000; in Perform()
74 in_file_stereo_.Open(file_name_stereo, frequency_hz, "rb"); in Perform()
76 in_file_mono_.Open(file_name_mono, frequency_hz, "rb"); in Perform()
DPCMFile.cc50 uint16_t* frequency_hz) { in ChooseFile() argument
86 *frequency_hz); in ChooseFile()
90 *frequency_hz = tmp_frequency; in ChooseFile()
DPCMFile.h55 uint16_t* frequency_hz);
/external/autotest/server/site_tests/power_DeferForFlashrom/
Dpower_DeferForFlashrom.py88 frequency_hz = int(BLOCK_SIZE * 8 / float(duration_sec))
103 (rand_file, zero_file, frequency_hz, BLOCK_SIZE))
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc111 void AudioEncoderCopyRed::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
112 speech_encoder_->SetMaxPlaybackRate(frequency_hz); in SetMaxPlaybackRate()
Daudio_encoder_copy_red.h54 void SetMaxPlaybackRate(int frequency_hz) override;
/external/u-boot/arch/x86/include/asm/
Di8254.h47 int i8254_enable_beep(uint frequency_hz);
/external/webrtc/webrtc/voice_engine/
Dvoe_codec_impl.cc345 int VoECodecImpl::SetOpusMaxPlaybackRate(int channel, int frequency_hz) { in SetOpusMaxPlaybackRate() argument
348 frequency_hz); in SetOpusMaxPlaybackRate()
360 return channelPtr->SetOpusMaxPlaybackRate(frequency_hz); in SetOpusMaxPlaybackRate()
Dvoe_codec_impl.h57 int SetOpusMaxPlaybackRate(int channel, int frequency_hz) override;
/external/webrtc/webrtc/modules/audio_coding/codecs/
Daudio_encoder.cc52 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} in SetMaxPlaybackRate() argument
Daudio_encoder.h129 virtual void SetMaxPlaybackRate(int frequency_hz);
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h42 MOCK_METHOD1(SetMaxPlaybackRate, void(int frequency_hz));
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc191 void AudioEncoderCng::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
192 speech_encoder_->SetMaxPlaybackRate(frequency_hz); in SetMaxPlaybackRate()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h504 WEBRTC_FUNC(SetOpusMaxPlaybackRate, (int channel, int frequency_hz)) {
510 if (frequency_hz <= 8000)
512 else if (frequency_hz <= 12000)
514 else if (frequency_hz <= 16000)
516 else if (frequency_hz <= 24000)
/external/webrtc/webrtc/voice_engine/include/
Dvoe_codec.h127 virtual int SetOpusMaxPlaybackRate(int channel, int frequency_hz) { in SetOpusMaxPlaybackRate() argument

12