/hardware/invensense/libsensors/ |
MPLSensor.cpp | 872 " setDelay handle: %d rate %d", handle, (int) (ns / 1000000LL)); 935 int rate = ((wanted) / 5000000LLU) - ((wanted % 5000000LLU == 0) ? 1 936 : 0); //mpu fifo rate is in increments of 5ms 937 if (rate == 0) //KLP disallow fifo rate 0 938 rate = 1; 940 if (rate != mCurFifoRate) { 941 //ALOGD("set fifo rate: %d %llu", rate, wanted); 943 res = inv_set_fifo_rate(rate); [all...] |
/hardware/ti/wlan/wl1271/utils/ |
rate.c | 2 * rate.c 35 /** \file rate.c 36 * \brief Rate conversion 38 * \see rate.h 42 #include "rate.h" 44 ERate rate_NetToDrv (TI_UINT32 rate) 46 switch (rate) 140 DESCRIPTION: Translates a host rate (1, 2, 3, ....) to network rate (0x02, 0x82, 0x84, etc...) 142 INPUT: rate - Host rat [all...] |
/external/qemu/audio/ |
audio.c | 873 if (sw->rate) { 874 st_rate_stop (sw->rate); 875 sw->rate = NULL; 917 sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq); 918 if (!sw->rate) { 919 dolog ("Could not start rate conversion for `%s'\n", SW_NAME (sw)); 1048 st_rate_flow (sw->rate, src, dst, &isamp, &osamp); 1150 sw->rate, [all...] |
paaudio.c | 334 ss.rate = as->freq; 388 ss.rate = as->freq; 511 ss.rate = 44100;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
MediaPlayerPrivateQTKit.mm | 746 [m_qtMovie.get() setRate:m_player->rate()]; 811 float oldRate = [m_qtMovie.get() rate]; 857 return [m_qtMovie.get() rate] == 0; [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTMovie.cpp | 332 float QTMovie::rate() const function in class:QTMovie 339 void QTMovie::setRate(float rate) 346 MCDoAction(m_private->m_movieController, mcActionPrerollAndPlay, (void *)FloatToFixed(rate)); 348 SetMovieRate(m_private->m_movie, FloatToFixed(rate)); 409 m_private->m_rateToRestore = rate();
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.cpp | 426 double rate = static_cast<double>(bmpWidth) / origSourceSize.width(); local 427 double temp = tileRect.width() * rate; 428 tileRect.setX(tileRect.x() * rate); 430 temp = tileRect.height() * rate; 431 tileRect.setY(tileRect.y() * rate);
|
/frameworks/av/media/libstagefright/ |
OggExtractor.cpp | 492 if (mVi.rate) { 493 // Rate may not have been initialized yet if we're currently 496 timeUs = mCurrentPage.mGranulePosition * 1000000ll / mVi.rate; 636 int64_t durationUs = lastGranulePosition * 1000000ll / mVi.rate; 657 entry.mTimeUs = page.mGranulePosition * 1000000ll / mVi.rate; 722 mMeta->setInt32(kKeySampleRate, mVi.rate);
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
MediaPlayerProxyTestCase.java | 478 // sample rate and number of channels, which was causing an assertion failure when trying 484 // Just check that we can set the rate at any point during playback. 501 * If we have a variable speed media player proxy, set the variable speed rate. 505 private void setVariableSpeedRateIfSupported(float rate) { 507 ((SingleThreadedMediaPlayerProxy) mPlayer).setVariableSpeed(rate); 509 ((VariableSpeed) mPlayer).setVariableSpeed(rate);
|
/external/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 114 uint16_t rate; member in struct:bluetooth_alsa_config 181 period_time = 1000000.0 * data->io.period_size / data->io.rate; 531 unsigned int max_bitpool, min_bitpool, rate, channels; local 534 snd_pcm_hw_params_get_rate(params, &rate, &dir); 537 switch (rate) { 551 DBG("Rate %d not supported", rate); 1251 /* supported rate */ [all...] |
android_audio_hw.c | 65 * can sleep to throttle the A2DP bit rate. 145 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 226 uint32_t chans, uint32_t rate) 230 (rate && (rate != out->sample_rate))) 669 * if the sample rate or the format ever changes on the fly, we'd have
|
/external/esd/include/ |
audiofile.h | 136 AF_INST_SAMP_RATE = 315, /* sample rate of this inst's sample */ 259 AF_BAD_RATE = 14, /* invalid sample rate */ 304 AF_WARNING_CODEC_RATE = 60, /* using 8k instead of codec rate 8012 */ 305 AF_WARNING_RATECVT = 61, /* warning about rate conversion used */ 339 AF_ERR_BAD_RATE = 14+AF_ERR_BASE, /* invalid sample rate */ 487 /* track data: sampling rate */ 488 void afInitRate (AFfilesetup, int track, double rate); 492 int afSetVirtualRate (AFfilehandle, int track, double rate);
|
/external/libvpx/vp8/encoder/ |
encodeframe.c | 1153 int rate = 0; local 1236 int rate; local [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebMediaPlayerClientImpl.cpp | 327 void WebMediaPlayerClientImpl::setRate(float rate) 330 m_webMediaPlayer->setRate(rate);
|
/hardware/ti/wlan/wl1271/TWD/MacServices/ |
PowerSrv.c | 513 DESCRIPTION: Sets the rate modulation according to the current Radio Mode. 521 void powerSrv_SetRateModulation(TI_HANDLE hPowerSrv, TI_UINT16 rate) 524 powerSrvSM_setRateModulation(pPowerSrv->hPowerSrvSM,rate); 530 * \Gets the rate modulation. [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
audiofile.h | 136 AF_INST_SAMP_RATE = 315, /* sample rate of this inst's sample */ 259 AF_BAD_RATE = 14, /* invalid sample rate */ 304 AF_WARNING_CODEC_RATE = 60, /* using 8k instead of codec rate 8012 */ 305 AF_WARNING_RATECVT = 61, /* warning about rate conversion used */ 339 AF_ERR_BAD_RATE = 14+AF_ERR_BASE, /* invalid sample rate */ 487 /* track data: sampling rate */ 488 void afInitRate (AFfilesetup, int track, double rate); 492 int afSetVirtualRate (AFfilehandle, int track, double rate);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
audiofile.h | 136 AF_INST_SAMP_RATE = 315, /* sample rate of this inst's sample */ 259 AF_BAD_RATE = 14, /* invalid sample rate */ 304 AF_WARNING_CODEC_RATE = 60, /* using 8k instead of codec rate 8012 */ 305 AF_WARNING_RATECVT = 61, /* warning about rate conversion used */ 339 AF_ERR_BAD_RATE = 14+AF_ERR_BASE, /* invalid sample rate */ 487 /* track data: sampling rate */ 488 void afInitRate (AFfilesetup, int track, double rate); 492 int afSetVirtualRate (AFfilehandle, int track, double rate);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 62 #define AC97_PCM_FRONT_DAC_RATE 0x2c /* PCM Front DAC Rate */ 63 #define AC97_PCM_SURR_DAC_RATE 0x2e /* PCM Surround DAC Rate */ 64 #define AC97_PCM_LFE_DAC_RATE 0x30 /* PCM LFE DAC Rate */ 65 #define AC97_PCM_LR_ADC_RATE 0x32 /* PCM LR ADC Rate */ 66 #define AC97_PCM_MIC_ADC_RATE 0x34 /* PCM MIC ADC Rate */ 73 #define AC97_LINE1_RATE 0x40 /* Line1 DAC/ADC Rate */ 74 #define AC97_LINE2_RATE 0x42 /* Line2 DAC/ADC Rate */ 75 #define AC97_HANDSET_RATE 0x44 /* Handset DAC/ADC Rate */ 107 #define AC97_SLOT_PCM_LEFT_0 7 /* double rate operation */ 110 #define AC97_SLOT_PCM_RIGHT_0 8 /* double rate operation * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
audiofile.h | 136 AF_INST_SAMP_RATE = 315, /* sample rate of this inst's sample */ 259 AF_BAD_RATE = 14, /* invalid sample rate */ 304 AF_WARNING_CODEC_RATE = 60, /* using 8k instead of codec rate 8012 */ 305 AF_WARNING_RATECVT = 61, /* warning about rate conversion used */ 339 AF_ERR_BAD_RATE = 14+AF_ERR_BASE, /* invalid sample rate */ 487 /* track data: sampling rate */ 488 void afInitRate (AFfilesetup, int track, double rate); 492 int afSetVirtualRate (AFfilehandle, int track, double rate);
|
/external/speex/libspeex/ |
nb_celp.c | 494 spx_int32_t rate; local 495 speex_encoder_ctl(state, SPEEX_GET_BITRATE, &rate); 496 if (rate > st->vbr_max) 498 rate = st->vbr_max; 499 speex_encoder_ctl(state, SPEEX_SET_BITRATE, &rate); 583 /*If we use low bit-rate pitch mode, transmit open-loop pitch*/ 766 /* Low bit-rate pitch handling */ 1618 spx_int32_t rate, target; local 1672 spx_int32_t rate, target; local [all...] |
/bionic/libc/kernel/common/linux/ |
pkt_cls.h | 130 struct tc_ratespec rate; member in struct:tc_police
|
/development/ndk/platforms/android-3/include/linux/ |
pkt_cls.h | 118 struct tc_ratespec rate; member in struct:tc_police
|
/external/chromium/chrome/browser/extensions/ |
extension_tts_apitest.cc | 34 double rate,
|
/external/iproute2/include/linux/ |
pkt_cls.h | 131 struct tc_ratespec rate; member in struct:tc_police
|
/external/kernel-headers/original/linux/ |
pkt_cls.h | 134 struct tc_ratespec rate; member in struct:tc_police
|