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

1234567891011

/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_org/chrome/common/
H A Dtts_utterance_request.h22 float rate; member in struct:TtsUtteranceRequest
/external/chromium_org/chromeos/ime/
H A Dime_keyboard_x11_unittest.cc137 AutoRepeatRate rate; local
138 EXPECT_TRUE(ImeKeyboard::GetAutoRepeatRateForTesting(&rate));
140 AutoRepeatRate tmp(rate);
145 EXPECT_EQ(rate.initial_delay_in_ms + 1, tmp.initial_delay_in_ms);
146 EXPECT_EQ(rate.repeat_interval_in_ms + 1, tmp.repeat_interval_in_ms);
149 EXPECT_TRUE(xkey_->SetAutoRepeatRate(rate));
151 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms);
152 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DClock.cpp52 void Clock::setPlayRate(double rate) argument
56 m_rate = rate;
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioResampler.h56 // 0 < rate <= MaxRate
57 void setRate(double rate);
58 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
H A DAudioResampler.cpp110 void AudioResampler::setRate(double rate) argument
112 if (std::isnan(rate) || std::isinf(rate) || rate <= 0.0)
115 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/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_unittest.cc27 // Returns true if the rate and frame length combination is valid.
28 bool VadTest::ValidRatesAndFrameLengths(int rate, int frame_length) { argument
29 if (rate == 8000) {
34 } else if (rate == 16000) {
39 } else if (rate == 32000) {
44 } else if (rate == 48000) {
98 // Invalid sampling rate
105 // Loop through sampling rate and frame length combinations
127 // This test verifies valid and invalid rate/frame_length combinations. We
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DCodecInst.java27 "Rate: " + rate();
38 public native int rate(); method in class:CodecInst
/external/chromium_org/webkit/browser/quota/
H A Dstorage_observer.cc33 const base::TimeDelta& rate,
36 rate(rate),
42 const base::TimeDelta& rate,
45 rate(rate),
30 MonitorParams( StorageType storage_type, const GURL& origin, const base::TimeDelta& rate, bool get_initial_state) argument
40 MonitorParams( const Filter& filter, const base::TimeDelta& rate, bool get_initial_state) argument
H A Dstorage_observer.h37 // The rate at which storage events will be fired. Events will be fired at
38 // approximately this rate, or when a storage status change has been
40 base::TimeDelta rate; member in struct:quota::StorageObserver::MonitorParams
48 const base::TimeDelta& rate,
51 const base::TimeDelta& rate,
/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/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/third_party/WebKit/Source/modules/speech/
H A DSpeechSynthesisUtterance.h59 float rate() const { return m_platformUtterance->rate(); } function in class:WebCore::FINAL
60 void setRate(float rate) { m_platformUtterance->setRate(rate); } argument
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebSpeechSynthesisUtterance.cpp84 float WebSpeechSynthesisUtterance::rate() const function in class:blink::WebSpeechSynthesisUtterance
86 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/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);
/external/speex/libspeex/
H A Dspeex_header.c72 int rate;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) argument
105 header->rate = rate;
131 ENDIAN_SWITCH(le_header->rate);
171 ENDIAN_SWITCH(le_header->rate);
/external/chromium_org/chrome/browser/chromeos/
H A Dpreferences_browsertest.cc99 input_method::AutoRepeatRate rate = keyboard_->last_auto_repeat_rate_; local
101 (int)rate.initial_delay_in_ms);
103 (int)rate.repeat_interval_in_ms);
/external/chromium_org/chrome/browser/net/
H A Dreferrer.cc91 double rate = it->second.subresource_use_rate(); local
93 if (rate > lowest_rate_seen)
99 lowest_rate_seen = rate;
133 double rate; local
134 if (!subresource_list->GetDouble(index++, &rate))
144 (*this)[url].SetSubresourceUseRate(rate);
152 base::FundamentalValue* rate(new base::FundamentalValue(
156 subresource_list->Append(rate);
180 // Note: the use rate is temporarilly possibly incorect, as we need to find
H A Dreferrer.h40 void SetSubresourceUseRate(double rate) { subresource_use_rate_ = rate; } argument
114 // Returns true if expected use rate is greater than the threshold.

Completed in 661 milliseconds

1234567891011