/external/libvorbis/lib/ |
backends.h | 43 long rate; member in struct:__anon13663
|
floor0.c | 80 info->rate=oggpack_read(opb,16); 87 if(info->rate<1)goto err_out; 107 Note that the scale depends on the sampling rate as well as the 122 floor(bark(rate/2-1)*C)=mapped-1 123 floor(bark(rate/2)*C)=mapped */ 124 float scale=look->ln/toBARK(info->rate/2.f); 134 int val=floor( toBARK((info->rate/2.f)/n*j)
|
/external/opencv/cv/src/ |
_cv.h | 103 double *rate; member in struct:CvPyramid
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSensorManager.java | 25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) {
|
/external/speex/include/speex/ |
speex_echo.h | 49 /** Set sampling rate */ 51 /** Get sampling rate */ 143 * @param rate Sampling rate 147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size);
|
/external/svox/pico/compat/include/ |
TtsEngine.h | 30 #define ANDROID_TTS_ENGINE_PROPERTY_RATE "rate" 59 // @param [in] uint32_t - Track sampling rate in Hz 166 // @param[inout] rate in: the desired audio sample rate 167 // out: the sample rate used by the TTS engine 171 virtual tts_result setAudioFormat(tts_audio_format& encoding, uint32_t& rate, 222 // o rate,
|
/external/tinycompress/include/tinycompress/ |
tinycompress.h | 125 * @sampling_rate: sampling rate of decoded samples 274 * and we have used these to define the sampling rate, we need to define 292 unsigned int compress_get_alsa_rate(unsigned int rate);
|
/external/webrtc/src/common_audio/vad/ |
vad_unittest.cc | 39 // Returns true if the rate and frame length combination is valid. 40 bool ValidRatesAndFrameLengths(int16_t rate, int16_t frame_length) { 41 if (rate == 8000) { 46 } else if (rate == 16000) { 52 if (rate == 32000) { 135 // Invalid sampling rate 142 // Loop through sampling rate and frame length combinations
|
/external/webrtc/src/modules/audio_processing/ |
audio_processing_impl.h | 61 virtual int set_sample_rate_hz(int rate);
|
/external/wpa_supplicant_8/src/ap/ |
ap_list.c | 44 int rate = (ap->supported_rates[i] & 0x7f) * 5; local 45 if (rate == 60 || rate == 90 || rate > 110)
|
hw_features.c | 88 "Fetching hardware channel/rate support not " 188 wpa_printf(MSG_ERROR, "Failed to allocate memory for rate " 194 struct hostapd_rate_data *rate; local 201 rate = &iface->current_rates[iface->num_rates]; 202 rate->rate = mode->rates[i]; 203 if (hostapd_rate_found(basic_rates, rate->rate)) { 204 rate->flags |= HOSTAPD_RATE_BASIC; 207 wpa_printf(MSG_DEBUG, "RATE[%d] rate=%d flags=0x%x" [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.h | 54 status_t setPlaybackSettings(const AudioPlaybackRate &rate /* sanitized */); 55 status_t getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */); 153 float mPlaybackRate; // audio track rate 236 status_t onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */); 237 status_t onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */);
|
/frameworks/base/media/java/android/media/ |
SoundPool.java | 68 * <p>The playback rate can also be changed. A playback rate of 1.0 causes 70 * to the hardware output frequency). A playback rate of 2.0 causes the 71 * sound to play at twice its original frequency, and a playback rate of 73 * rate range is 0.5 to 2.0.</p> 98 * adjusting the playback rate in real-time for doppler or synthesis 145 * @param srcQuality the sample-rate converter quality. Currently has no 319 * The playback rate allows the application to vary the playback 320 * rate (pitch) of the sound. A value of 1.0 means play back at 329 * @param rate playback rate (1.0 = normal playback, range 0.5 to 2.0 [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
dsm_feedback.c | 33 .rate = 48000,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/ |
format.h | 74 /**< Additional encoding-specific properties such as sample rate, bitrate, etc. */ 128 /** Convenience method to set the sampling rate as a property on the given format */ 129 void pa_format_info_set_rate(pa_format_info *f, int rate);
|
/system/media/alsa_utils/include/ |
alsa_device_profile.h | 74 /* Sample Rate Methods */ 76 bool profile_is_sample_rate_valid(alsa_device_profile* profile, unsigned rate);
|
/external/libvncserver/x11vnc/ |
rates.c | 77 double slowest = -1.0, rate; local 100 rate = cd->send_cmp_rate; 102 rate = cd->send_raw_rate; 104 if (slowest == -1.0 || rate < slowest) { 105 slowest = rate; 260 double rate = ((double) n) / dt; local 261 speeds_read_rate_measured = (int) (rate/1000000.0); 265 rfbLog("fb read rate: %d MB/sec\n", 696 rfbLog("client %d network rate %.1f KB/sec (%.1f eff KB/sec)\n",
|
/external/tremolo/Tremolo/ |
treminfo.c | 187 vi->rate=oggpack_read(opb,32); 197 if(vi->rate>=64000 || ci->blocksizes[1]>4096)goto err_out; 199 if(vi->rate<64000 && ci->blocksizes[1]>4096)goto err_out; 202 if(vi->rate<1)goto err_out; 363 if(vi->rate!=0){ 371 if(vi->rate==0){ 379 if(vi->rate==0 || vc->vendor==NULL){
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 150 float rate = 1f; local 151 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 154 rate = 1.4f; 155 mSoundPool.setRate(streamID, rate); 165 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 306 -1 /* loop (infinite) */, 1.0f /* rate */);
|
MediaSyncTest.java | 159 * Tests setPlaybackParams is handled correctly for wrong rate. 162 final float rate = -1.0f; local 164 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); 165 fail("playback rate " + rate + " is not handled correctly"); 178 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); 179 fail("With audio track set, playback rate " + rate 186 * Tests setPlaybackParams is handled correctly for good rate without audio track set. 187 * The case for good rate with audio track set is tested in testPlaybackRate* 190 final float rate = (float)TEST_MAX_SPEED; local [all...] |
/external/iproute2/tc/ |
q_gred.c | 125 unsigned rate = 0; local 201 if (get_rate(&rate, *argv)) { 217 if (rate == 0) 218 get_rate(&rate, "10Mbit"); 244 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
|
/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);
|
/frameworks/av/media/libmedia/ |
Visualizer.cpp | 98 uint32_t rate, bool force) 100 if (rate > CAPTURE_RATE_MAX) { 119 mCaptureRate = rate; 122 mCaptureThread = new CaptureThread(*this, rate, ((flags & CAPTURE_CALL_JAVA) != 0)); 124 ALOGV("setCaptureCallBack() rate: %d thread %p flags 0x%08x", 125 rate, mCaptureThread.get(), mCaptureFlags);
|
/hardware/libhardware/modules/usbaudio/ |
audio_hal.c | 242 uint32_t rate = proxy_get_sample_rate(&((struct stream_out*)stream)->proxy); local 243 ALOGV("out_get_sample_rate() = %d", rate); 244 return rate; 247 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 531 /* Rate */ 533 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 535 proxy_config.rate = config->sample_rate; 537 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 623 /* TODO This needs to be calculated based on format/channels/rate */ 632 uint32_t rate = proxy_get_sample_rate(&((const struct stream_in *)stream)->proxy) local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
rdopt.c | 239 /* Extend rate multiplier along side quantizer zbin increases */ 575 int *Rate, 615 /* rate */ 616 *Rate = vp8_rdcost_mby(mb); 643 int rate = 0; local 667 rate = bmode_costs[mode]; 679 rate += ratey; 682 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); 686 *bestrate = rate; 704 static int rd_pick_intra4x4mby_modes(MACROBLOCK *mb, int *Rate, 776 int rate, ratey; local 1111 int rate = 0; local 1956 int rate; local 2614 int rate; local [all...] |