/external/chromium_org/remoting/codec/ |
audio_encoder_opus_unittest.cc | 27 // The sampling rate that OPUS uses internally and that we expect to get 55 AudioPacket::SamplingRate rate, 59 double angle = pos * 2 * M_PI * frequency_hz / rate + 68 AudioPacket::SamplingRate rate, 73 data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0); 74 data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1); 81 packet->set_sampling_rate(rate); 107 AudioPacket::SamplingRate rate, 115 GetSampleValue(rate, frequency_hz, i - shift, 0); 118 GetSampleValue(rate, frequency_hz, i - shift, 1) [all...] |
/external/qemu/audio/ |
mixeng.c | 270 * Sound Tools rate change effect file. 289 struct rate { struct 301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); local 303 if (!rate) { 304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate)); 308 rate->opos = 0; 311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; 313 rate->ipos = 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 8 - sampling rate (0 if unknown or hard to decode) 17 sampling rate (a frame contains a sample for each channel). 90 rate = f(h[16:20]) 103 return type, rate, nchannels, data_size//frame_size, sample_bits 121 rate = 0 124 rate = int(1000000.0 / (256 - ratecode)) 125 return 'voc', rate, 1, -1, 8 136 rate = get_long_le(h[24:28]) 138 return 'wav', rate, nchannels, -1, sample_bits 155 rate = get_short_le(h[20:22] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 8 - sampling rate (0 if unknown or hard to decode) 17 sampling rate (a frame contains a sample for each channel). 90 rate = f(h[16:20]) 103 return type, rate, nchannels, data_size//frame_size, sample_bits 121 rate = 0 124 rate = int(1000000.0 / (256 - ratecode)) 125 return 'voc', rate, 1, -1, 8 136 rate = get_long_le(h[24:28]) 138 return 'wav', rate, nchannels, -1, sample_bits 155 rate = get_short_le(h[20:22] [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestDoppler.java | 51 private float rate = -0.05f; field in class:TestDoppler 86 angle += tpf * rate; 90 rate = -rate; 93 rate = -rate;
|
/external/chromium/chrome/browser/net/ |
referrer.cc | 91 double rate = it->second.subresource_use_rate(); local 93 if (rate > lowest_rate_seen) 99 lowest_rate_seen = rate; 132 double rate; local 133 if (!subresource_list->GetDouble(index++, &rate)) 143 (*this)[url].SetSubresourceUseRate(rate); 151 FundamentalValue* rate(new FundamentalValue( 155 subresource_list->Append(rate); 179 // Note: the use rate is temporarilly possibly incorect, as we need to find
|
/external/chromium_org/chrome/browser/net/ |
referrer.cc | 91 double rate = it->second.subresource_use_rate(); local 93 if (rate > lowest_rate_seen) 99 lowest_rate_seen = rate; 132 double rate; local 133 if (!subresource_list->GetDouble(index++, &rate)) 143 (*this)[url].SetSubresourceUseRate(rate); 151 base::FundamentalValue* rate(new base::FundamentalValue( 155 subresource_list->Append(rate); 179 // Note: the use rate is temporarilly possibly incorect, as we need to find
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/ |
pralarm.h | 54 ** Repeating periodic notifies are expected to run at a fixed rate. 55 ** That rate is expressed as some number of notifies per period where 130 ** PRUint32 rate The rate within the interval that 140 ** by the alarm's internal thread at a fixed interval whose rate is the 148 ** ALGORITHM: The rate at which notifications are delivered are stated 149 ** to be "'rate' notifies per 'interval'". The exact time of 152 ** not ealier than the epoch plus the fixed rate times the 154 ** potential to be late by not more than 'interval'/'rate'. 159 PRAlarm *alarm, PRIntervalTime period, PRUint32 rate, [all...] |
/external/iproute2/tc/ |
tc_core.h | 21 unsigned tc_calc_xmittime(unsigned rate, unsigned size); 22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
|
/external/speex/include/speex/ |
speex_header.h | 64 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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 29 rate = au.getframerate() 40 return (data, rate, 16, nchannels) 44 def play_sound_file(self, data, rate, ssize, nchannels): 75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate 78 dsp.setparameters(AFMT_S16_NE, nchannels, rate) 101 (fmt, channels, rate) = config 104 dsp.speed(rate) == rate): 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 29 rate = au.getframerate() 40 return (data, rate, 16, nchannels) 44 def play_sound_file(self, data, rate, ssize, nchannels): 75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate 78 dsp.setparameters(AFMT_S16_NE, nchannels, rate) 101 (fmt, channels, rate) = config 104 dsp.speed(rate) == rate): 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), [all...] |
/external/iproute2/misc/ |
rtacct.c | 70 double rate[256*4]; member in struct:rtacct_data 133 void format_rate(FILE *fp, double rate) 137 if (rate > 1024*1024) { 138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); 140 } else if (rate > 1024) { 141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); 144 fprintf(fp, " %-10u", (unsigned)rate); 186 double *rate; local 192 rate = &kern_db->rate[realm*4] 248 double *rate; local [all...] |
/bionic/libc/kernel/common/media/ |
tegra_camera.h | 34 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
SpeechSynthesisUtterance.h | 58 float rate() const { return m_platformUtterance->rate(); } function in class:WebCore::SpeechSynthesisUtterance 59 void setRate(float rate) { m_platformUtterance->setRate(rate); }
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
AudioResamplerKernel.h | 59 double rate() const;
|
AudioResampler.cpp | 110 void AudioResampler::setRate(double rate) 112 if (std::isnan(rate) || std::isinf(rate) || rate <= 0.0) 115 m_rate = min(AudioResampler::MaxRate, rate);
|
/external/kernel-headers/original/media/ |
tegra_camera.h | 31 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/libvpx/libvpx/vp8/encoder/ |
pickinter.h | 21 extern void vp8_pick_intra_mode(MACROBLOCK *x, int *rate);
|
/external/esd/include/ |
esd.h | 22 /* default sample rate for the EsounD server */ 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 201 int rate; \/* sample rate *\/ member in struct:esd_server_info 212 int rate; \/* sample rate *\/ member in struct:esd_player_info 227 int rate; \/* sample rate *\/ member in struct:esd_sample_info [all...] |
/frameworks/wilhelm/src/itf/ |
IPlaybackRate.c | 22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 62 SLpermille rate = thiz->mRate; local 64 *pRate = rate; 128 SLpermille rate, SLuint32 *pCapabilities) 138 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
esd.h | 22 /* default sample rate for the EsounD server */ 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 201 int rate; \/* sample rate *\/ member in struct:esd_server_info 212 int rate; \/* sample rate *\/ member in struct:esd_player_info 227 int rate; \/* sample rate *\/ member in struct:esd_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
esd.h | 22 /* default sample rate for the EsounD server */ 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 201 int rate; \/* sample rate *\/ member in struct:esd_server_info 212 int rate; \/* sample rate *\/ member in struct:esd_player_info 227 int rate; \/* sample rate *\/ member in struct:esd_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
esd.h | 22 /* default sample rate for the EsounD server */ 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 201 int rate; \/* sample rate *\/ member in struct:esd_server_info 212 int rate; \/* sample rate *\/ member in struct:esd_player_info 227 int rate; \/* sample rate *\/ member in struct:esd_sample_info [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
options.js | 13 var rateElement = document.getElementById('rate'); 16 var rate = localStorage['rate'] || 1.0; 19 rateElement.value = rate; 23 rate = rateElement.value; 24 localStorage['rate'] = rate; 39 rate = 1.0; 42 localStorage['rate'] = rate; [all...] |