Searched defs:rate (Results 1 - 25 of 197) sorted by relevance

12345678

/external/libvorbis/lib/
H A Dbarkmel.c22 double rate; local
24 rate=48000.f;
25 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n",
26 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2));
28 rate=44100.f;
29 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n",
30 rate,
[all...]
/external/tinycompress/
H A Dutils.c64 unsigned int compress_get_alsa_rate(unsigned int rate) argument
66 switch (rate) {
/external/arduino/libraries/SPI/
H A DSPI.cpp56 void SPIClass::setClockDivider(uint8_t rate) argument
58 SPCR = (SPCR & ~SPI_CLOCK_MASK) | (rate & SPI_CLOCK_MASK);
59 SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((rate >> 2) & SPI_2XCLOCK_MASK);
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/
H A Dsound9.c27 void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format) argument
29 soundsystem->rate = rate;
43 soundsystem->period = 0x1000000 / rate;
/external/chromium/chrome/browser/extensions/
H A Dextension_tts_api_linux.cc22 double rate,
18 Speak( const std::string& utterance, const std::string& language, const std::string& gender, double rate, double pitch, double volume) argument
H A Dextension_tts_api_chromeos.cc26 double rate,
59 double rate,
84 if (rate >= 0.0) {
87 DoubleToString(rate * 5),
55 Speak( const std::string& utterance, const std::string& locale, const std::string& gender, double rate, double pitch, double volume) argument
H A Dextension_tts_api_win.cc25 double rate,
57 double rate,
68 if (rate >= 0.0) {
69 // The TTS api allows a range of -10 to 10 for speech rate.
70 speech_synthesizer_->SetRate(static_cast<int32>(rate * 20 - 10));
53 Speak( const std::string& src_utterance, const std::string& language, const std::string& gender, double rate, double pitch, double volume) argument
/external/chromium_org/chrome/common/
H A Dtts_utterance_request.h22 float rate; member in struct:TtsUtteranceRequest
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DClock.cpp54 void Clock::setPlayRate(double rate) argument
58 m_rate = rate;
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/
H A DAudioResampler.h54 // 0 < rate <= MaxRate
55 void setRate(double rate);
56 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
H A DAudioResampler.cpp111 void AudioResampler::setRate(double rate) argument
113 if (std::isnan(rate) || std::isinf(rate) || rate <= 0.0)
116 m_rate = min(AudioResampler::MaxRate, rate);
H A DAudioResamplerKernel.cpp56 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate();
82 double rate = this->rate();
83 rate = max(0.0, rate);
84 rate = min(AudioResampler::MaxRate, rate);
97 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size());
112 virtualReadIndex += rate;
136 double AudioResamplerKernel::rate() cons function in class:WebCore::AudioResamplerKernel
[all...]
/external/iproute2/tc/
H A Dtc_cbq.c27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, argument
35 if (bndw != rate && maxburst) {
36 double vxmt = (double)avpkt/rate - xmt;
44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, argument
48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
H A DNoiseAggregator.java35 * A simple aggregator basis. Takes two basis functions and a rate and return
43 private final float rate; field in class:NoiseAggregator
47 public NoiseAggregator(final Basis a, final Basis b, final float rate) { argument
50 this.rate = rate;
61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z);
/external/jmonkeyengine/engine/src/test/jme3test/audio/
H A DTestDoppler.java51 private float rate = -0.05f; field in class:TestDoppler
86 angle += tpf * rate;
90 rate = -rate;
93 rate = -rate;
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
H A DTestOgreComplexAnim.java54 private float rate = 1; field in class:TestOgreComplexAnim
121 angle += tpf * rate;
124 rate = -1;
127 rate = 1;
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
H A DTestExpandingTorus.java15 private float rate = 1; field in class:TestExpandingTorus
37 rate = -rate;
40 rate = -rate;
42 outerRadius += rate * tpf;
/external/kernel-headers/original/media/
H A Dtegra_camera.h31 unsigned long rate; member in struct:tegra_camera_clk_info
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument
/external/chromium_org/chromeos/ime/
H A Dxkeyboard_unittest.cc191 AutoRepeatRate rate; local
192 EXPECT_TRUE(XKeyboard::GetAutoRepeatRateForTesting(&rate));
194 AutoRepeatRate tmp(rate);
199 EXPECT_EQ(rate.initial_delay_in_ms + 1, tmp.initial_delay_in_ms);
200 EXPECT_EQ(rate.repeat_interval_in_ms + 1, tmp.repeat_interval_in_ms);
203 EXPECT_TRUE(XKeyboard::SetAutoRepeatRate(rate));
205 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms);
206 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms);
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
H A DWebSpeechSynthesisUtterance.cpp89 float WebSpeechSynthesisUtterance::rate() const function in class:WebKit::WebSpeechSynthesisUtterance
91 return m_private->rate();
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dxmlreport.py10 def rate(hit, num): function
73 xpackage.setAttribute("line-rate", rate(lhits, lnum))
74 xpackage.setAttribute("branch-rate", rate(bhits, bnum))
82 xcoverage.setAttribute("line-rate", rate(lhits_tot, lnum_tot))
83 xcoverage.setAttribute("branch-rate", rate(bhits_tot, bnum_tot))
141 xclass.setAttribute("line-rate", rat
[all...]
/external/kernel-headers/original/linux/
H A Dtegra_audio.h30 int rate; member in struct:tegra_audio_in_config
/external/qemu/audio/
H A Drate_template.h33 struct rate *rate = opaque; local
43 ilast = rate->ilast;
51 if (rate->opos_inc == (1ULL + UINT_MAX)) {
71 while (rate->ipos <= (rate->opos >> 32)) {
73 rate->ipos++;
85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX);
87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX;
92 t = rate
[all...]
/external/speex/include/speex/
H A Dspeex_header.h64 spx_int32_t rate; /**< Sampling rate used */ member in struct:SpeexHeader
68 spx_int32_t bitrate; /**< Bit-rate used */
78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);

Completed in 4872 milliseconds

12345678