/frameworks/av/media/libstagefright/ |
AudioPlayer.cpp | 45 mSampleRate(0), 122 success = format->findInt32(kKeySampleRate, &mSampleRate); 174 offloadInfo.sample_rate = mSampleRate; 184 mSampleRate, numChannels, channelMask, audioFormat, 232 AUDIO_STREAM_MUSIC, mSampleRate, AUDIO_FORMAT_PCM_16_BIT, audioMask, 415 return mAudioTrack->setSampleRate(ratePermille * mSampleRate / 1000); 576 (1000000ll * numFramesPendingPlayout) / mSampleRate; 581 / mSampleRate); 639 / mSampleRate; 716 CHECK_NE(mSampleRate, 0) [all...] |
AACWriter.cpp | 46 mSampleRate(-1), 64 mSampleRate(-1), 105 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate)); 135 mFrameDurationUs = (kSamplesPerFrame * 1000000LL + (mSampleRate >> 1)) 136 / mSampleRate; 271 CHECK(getSampleRateTableIndex(mSampleRate, &kSampleFreqIndex));
|
AudioSource.cpp | 55 mSampleRate(sampleRate), 175 meta->setInt32(kKeySampleRate, mSampleRate); 243 ((int64_t)kAutoRampDurationUs * mSampleRate + 500000LL) / 1000000LL; //Need type casting 246 ((int64_t)kAutoRampStartUs * mSampleRate + 500000LL) / 1000000LL; //Need type casting 352 (mSampleRate >> 1)) / mSampleRate;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 125 int mSampleRate; 178 mSampleRate = sampleRate / 1000; 180 mInterval = mSampleCount / mSampleRate; 183 for (mBufferMask = 8; mBufferMask < mSampleRate; mBufferMask <<= 1); 222 (codec ? codec->name : "RAW"), mSampleRate, mInterval, mMode); 250 head *= mSampleRate; 251 tail *= mSampleRate; 253 if (sampleRate == mSampleRate) { 284 if (duration >= 0 && duration < mSampleRate * DTMF_PERIOD) { 292 if (duration >= mSampleRate * DTMF_PERIOD) [all...] |
/frameworks/av/include/media/stagefright/ |
AudioSource.h | 79 int32_t mSampleRate;
|
AudioPlayer.h | 87 int mSampleRate;
|
/frameworks/av/include/private/media/ |
AudioTrackShared.h | 117 uint32_t mSampleRate; // AudioTrack only: client's requested sample rate in Hz 291 mCblk->mSampleRate = sampleRate; 398 mCblk->mSampleRate = sampleRate; 405 uint32_t getSampleRate() const { return mCblk->mSampleRate; }
|
/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.h | 208 int mSampleRate;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.h | 62 OMX_U32 mSampleRate;
|
SoftFlacEncoder.cpp | 55 mSampleRate(44100), 175 pcmParams->nSamplingRate = mSampleRate; 185 flacParams->nSampleRate = mSampleRate; 212 mSampleRate = pcmParams->nSamplingRate; 213 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); 416 mNumChannels, mSampleRate); 426 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mSampleRate);
|
/frameworks/av/media/libstagefright/include/ |
AACEncoder.h | 51 int32_t mSampleRate;
|
/frameworks/av/services/audioflinger/ |
FastMixerDumpState.h | 79 uint32_t mSampleRate;
|
TrackBase.h | 109 virtual uint32_t sampleRate() const { return mSampleRate; } 147 const uint32_t mSampleRate; // initial sample rate only; for tracks which
|
Threads.cpp | 322 // mSampleRate, mFrameCount, mChannelMask, mChannelCount, mFrameSize, mFormat, mBufferSize 586 dprintf(fd, " Sample rate: %u\n", mSampleRate); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
AACEncoder.cpp | 47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); 84 params.sampleRate = mSampleRate; 115 mSampleRate, mBitRate, mChannels); 118 CHECK_EQ((status_t)OK, getSampleRateTableIndex(mSampleRate, index)); 322 ((mFrameCount - 1) * 1000000LL * kNumSamplesPerFrame) / mSampleRate;
|
SoftAACEncoder2.cpp | 46 mSampleRate(44100), 159 aacParams->nSampleRate = mSampleRate; 218 pcmParams->nSamplingRate = mSampleRate; 279 mSampleRate = aacParams->nSampleRate; 318 mSampleRate = pcmParams->nSamplingRate; 367 mSampleRate, mNumChannels, mBitRate, mSBRMode, mSBRRatio); 375 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mSampleRate)) { 514 (copy * 1000000ll / mSampleRate)
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.h | 65 uint32_t mSampleRate; // 106 uint32_t mSampleRate; //
|
AudioDumpInterface.cpp | 266 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mLatency(0), mDevice(devices), 315 return mSampleRate; 378 mSampleRate = valueInt; 427 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mDevice(devices), 518 return mSampleRate;
|
/frameworks/av/include/media/ |
MediaProfiles.h | 256 mSampleRate(sampleRate), 262 mSampleRate = copy.mSampleRate; 270 int mSampleRate;
|
SoundPool.h | 60 int sampleRate() { return mSampleRate; } 72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; 81 uint16_t mSampleRate;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
AudioFilePlayer.c | 50 printf (" Sample Rate:%f\n", inDesc->mSampleRate); 299 afp->mFileDescription.mSampleRate = 44100; 342 int bytesPerSecond = (UInt32) (4 * afp->mFileDescription.mSampleRate * afp->mFileDescription.mBytesPerFrame);
|
/frameworks/av/media/libstagefright/codecs/raw/ |
SoftRaw.cpp | 45 mSampleRate(44100) { 119 pcmParams->nSamplingRate = mSampleRate; 156 mSampleRate = pcmParams->nSamplingRate;
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 181 private int mSampleRate; 246 mSampleRate = REGULAR_SAMPLE_RATE; 386 mSampleRate = BLUETOOTH_SAMPLE_RATE; 406 mSampleRate = REGULAR_SAMPLE_RATE; 635 int sampleCount = ((mSampleRate / SINE_FREQ) * NUM_PERIODS_BLOCK); 643 int maxBytes = 2 * ((START_WINDOW_MS * mSampleRate) / 1000); 681 if (false) Log.d(TAG, "start RISING: " + count +" time: "+ (((1000*count)/2)/mSampleRate)); 687 if (false) Log.d(TAG, "back to START: " + count +" time: "+ (((1000*count)/2)/mSampleRate)); 692 if (false) Log.d(TAG, "start TOP: " + count +" time: "+ (((1000*count)/2)/mSampleRate)); 702 if (false) Log.d(TAG, "end TOP: " + count +" time: "+ (((1000*count)/2)/mSampleRate)); [all...] |
/frameworks/av/media/libmedia/ |
AudioTrack.cpp | 363 mSampleRate = sampleRate; 688 mSampleRate = rate; 710 mSampleRate = sampleRate; 714 return mSampleRate; 943 mSampleRate, mFormat, mChannelMask, 950 streamType, mAttributes.usage, mSampleRate, mFormat, mChannelMask, mFlags); 979 if (mSampleRate == 0) { 980 mSampleRate = afSampleRate; 991 (mSampleRate == afSampleRate))) { 1005 const uint32_t nBuffering = (mSampleRate == afSampleRate) ? 2 : 3 [all...] |
/external/chromium_org/media/audio/mac/ |
audio_auhal_mac.cc | 302 output_format_.mSampleRate) + device_latency_frames); 323 (1e-9 * (output_time_ns - now_ns) * output_format_.mSampleRate); 336 format.mSampleRate = params_.sample_rate();
|