/external/speex/libspeex/ |
scal.c | 58 int rate; member in struct:SpeexDecorrState_ 81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) 85 st->rate = rate; 89 st->psy = vorbis_psy_init(rate, 2*frame_size);
|
sb_celp.c | 1170 spx_int32_t i=10, rate, target; local 1221 spx_int32_t rate, target; local [all...] |
/external/svox/pico/tts/ |
svox_ssml_parser.cpp | 322 else if (strcmp(element, "prosody") == 0) /* only pitch, rate and volume attributes are supported */ 369 else if (strcmp(attributes[i], "rate") == 0) 382 char* rate = new char[17 + strlen(svoxrate)]; local 383 if (!rate) 388 sprintf(rate, "<speed level='%s'>", svoxrate); 389 if (strlen(m_data) + strlen(rate) + 1 > (size_t)m_datasize) 397 strcat(m_data, rate); 410 delete [] rate; 662 Converts SSML rate labels to SVOX speed levels
|
/external/webrtc/src/modules/audio_processing/main/test/unit_test/ |
unit_test.cc | 559 int rate[] = {16000, 44100, 48000}; local 560 for (size_t i = 0; i < sizeof(rate)/sizeof(*rate); i++) { 562 apm_->echo_cancellation()->set_device_sample_rate_hz(rate[i])); 563 EXPECT_EQ(rate[i],
|
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 60 "Fetching hardware channel/rate support not " 131 wpa_printf(MSG_ERROR, "Failed to update rate sets in kernel " 141 wpa_printf(MSG_ERROR, "Failed to allocate memory for rate " 147 struct hostapd_rate_data *rate; local 154 rate = &hapd->iface->current_rates[hapd->iface->num_rates]; 155 rate->rate = mode->rates[i]; 156 if (hostapd_rate_found(basic_rates, rate->rate)) { 157 rate->flags |= HOSTAPD_RATE_BASIC [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf_rt.c | 76 /* allocate rate tracking structures */ 146 /* VP_T - display rate */ 151 /* VD_T - decode rate */ 156 /* VE_T - encode rate */ 161 /* CAMT - capture rate */ 320 /* get the temporal rate */ 334 /* calculate the average of the temporal rate */ 405 /* for each rate, reset skip count as well as tn0 */ 423 /* complete any temporary rate measurements */ 459 /* see if we care about this buffer in the rate calculation * 470 int rate = (me->detailed == 2) || local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
pcm_ioplug.h | 46 SND_PCM_IOPLUG_HW_RATE, /**< rate */ 113 unsigned int rate; /**< rate; filled after hw_params is called */ member in struct:snd_pcm_ioplug
|
/system/extras/sound/ |
playwav.c | 36 int pcm_play(unsigned rate, unsigned channels, 58 config.sample_rate = rate; 135 void play_file(unsigned rate, unsigned channels, 148 pcm_play(rate, channels, fill_buffer, 0); 154 unsigned rate, channels; local 191 int wav_rec(const char *fn, unsigned channels, unsigned rate) 208 hdr.sample_rate = rate; 334 unsigned rate = 44100; local 347 } else if (!strcmp(argv[0],"-rate")) { 351 fprintf(stderr,"playwav: -rate requires a parameter\n") [all...] |
/system/media/wilhelm/tests/mimeUri/ |
slesTestSlowDownUri.cpp | 71 SLpermille minRate, maxRate, stepSize, rate = 1000; local 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); 78 fprintf(stdout, "old rate = %d, minRate=%d, maxRate=%d\n", rate, minRate, maxRate); 79 rate /= 2; 80 if (rate < minRate) { 81 rate = minRate; 83 fprintf(stdout, "new rate = %d\n", rate); 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res) 292 SLpermille rate = 1234; local [all...] |
/system/media/wilhelm/tests/sandbox/ |
playbq.c | 117 SLpermille rate = 1000; local 136 rate = atoi(&arg[2]); 179 fprintf(stderr, "unsupported sample rate %d\n", sfinfo.samplerate); 283 // get the playback rate interface and configure the rate 293 printf("default playback rate %d per mille, properties 0x%x\n", defaultRate, defaultProperties); 294 if (rate != defaultRate) { 295 result = (*playerPlaybackRate)->SetRate(playerPlaybackRate, rate); 297 fprintf(stderr, "playback rate %d is unsupported\n", rate); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 238 float rate = 1f; local 239 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 242 rate = 1.4f; 243 mSoundPool.setRate(streamID, rate); 253 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate);
|
/device/moto/wingray/libaudio/ |
AudioPostProcessor.cpp | 101 uint32_t AudioPostProcessor::convRateToCto(uint32_t rate) 103 switch (rate) { 194 // Setting the HW sampling rate may require reconfiguration of audio processing. 197 uint32_t rate = convRateToCto(sampRate); local 201 if (rate != mAudioMmEnvVar.sample_rate) { 202 mAudioMmEnvVar.sample_rate = rate; 224 void AudioPostProcessor::initEcns(int rate, int bytes) 230 if (rate != 8000 && rate != 16000) { 231 LOGW("Invalid rate for EC/NS, disabling") [all...] |
/external/bluetooth/bluez/audio/ |
gstsbcenc.c | 149 "rate = (int) { 16000, 32000, 44100, 48000 }, " 159 "rate = (int) { 16000, 32000, 44100, 48000 }, " 183 if (enc->rate != 0) 184 gst_sbc_util_set_structure_int_param(structure, "rate", 185 enc->rate, value); 290 gint rate, channels; local 296 if (!gst_structure_get_int(structure, "rate", &rate)) 301 enc->rate = rate; [all...] |
/external/iproute2/misc/ |
ifstat.c | 59 double rate[MAXS]; member in struct:ifstat_ent 109 memset(&n->rate, 0, sizeof(n->rate)); 183 unsigned rate; local 194 if (sscanf(p, "%u", &rate) != 1) 196 n->rate[i] = rate; 220 double *rates = n->rate; 228 rates = h1->rate; 291 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); [all...] |
nstat.c | 79 double rate; member in struct:nstat_ent 123 double rate; local 134 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); 138 rate = 0; 146 n->rate = rate; 194 n->rate = 0; 265 if (!dump_zeros && !val && !n->rate) 279 fprintf(fp, "%-32s%-16llu%6.1f\n", n->id, val, n->rate); 303 if (!dump_zeros && !val && !n->rate) [all...] |
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...] |
/external/libvpx/vp8/encoder/ |
encodemb.c | 239 int rate; member in struct:vp8_token_state 319 tokens[eob][0].rate = 0; 341 rate0 = tokens[next][0].rate; 342 rate1 = tokens[next][1].rate; 366 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); 373 rate0 = tokens[next][0].rate; 374 rate1 = tokens[next][1].rate; 436 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); 456 tokens[next][0].rate += mb->token_costs[type][band][0][t0]; 461 tokens[next][1].rate += mb->token_costs[type][band][0][t1] [all...] |
/external/tremolo/Tremolo/ |
codec_internal.h | 97 long rate; member in struct:__anon11733
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
PathOpenVG.cpp | 255 double rate = span / d01; local 256 FloatPoint startPoint = FloatPoint(point1.x() + v01.width() * rate, 257 point1.y() + v01.height() * rate); 258 rate = span / d21; 259 FloatPoint endPoint = FloatPoint(point1.x() + v21.width() * rate, 260 point1.y() + v21.height() * rate);
|
/external/wpa_supplicant/ |
driver_bsd.c | 574 /* best/max rate preferred if signal level close enough XXX */ 590 int rate = rates[i] & IEEE80211_RATE_VAL; local 591 if (rate > maxrate) 592 rate = maxrate;
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_bsd.c | 577 /* best/max rate preferred if signal level close enough XXX */ 593 int rate = rates[i] & IEEE80211_RATE_VAL; local 594 if (rate > maxrate) 595 rate = maxrate;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bss.c | 571 int rate = 0; local 577 if ((ie[i + 2] & 0x7f) > rate) 578 rate = ie[i + 2] & 0x7f; 583 if ((ie[i + 2] & 0x7f) > rate) 584 rate = ie[i + 2] & 0x7f; 587 return rate;
|
scan.c | 563 int rate = 0; local 569 if ((ie[i + 2] & 0x7f) > rate) 570 rate = ie[i + 2] & 0x7f; 575 if ((ie[i + 2] & 0x7f) > rate) 576 rate = ie[i + 2] & 0x7f; 579 return rate; 717 /* best/max rate preferred if signal level close enough XXX */
|
/frameworks/base/media/jni/soundpool/ |
SoundPool.cpp | 242 int priority, int loop, float rate) 244 LOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 245 sampleID, leftVolume, rightVolume, priority, loop, rate); 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); 403 void SoundPool::setRate(int channelID, float rate) 405 LOGV("setRate(%d, %f)", channelID, rate); 409 channel->setRate(rate); 518 LOGE("Sample rate (%u) out of range", sampleRate); 548 float rightVolume, int priority, int loop, float rate) 558 " priority=%d, loop=%d, rate=%f" 661 float rate; local [all...] |
/external/bluetooth/bluez/test/ |
ipctest.c | 99 uint32_t rate; member in struct:userdata 114 .rate = 48000, 379 uint32_t rate; member in struct:__anon1893 394 * sampling rate */ 396 if (freq_table[i].rate >= u->rate && 398 u->rate = freq_table[i].rate; 406 u->rate = freq_table[i].rate; [all...] |