Searched refs:mSampleRate (Results 26 - 50 of 54) sorted by relevance

123

/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp63 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
129 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
H A DAudioResampler.h87 const int32_t mSampleRate; member in class:android::AudioResampler
H A DFastMixer.h100 uint32_t mSampleRate; member in struct:android::FastMixerDumpState
H A DAudioResampler.cpp217 mSampleRate(sampleRate), mInSampleRate(sampleRate), mInputIndex(0),
250 mPhaseIncrement = (uint32_t)((kPhaseMultiplier * inSampleRate) / mSampleRate);
272 return mPTS + ((outputFrameIndex * mLocalTimeFreq) / mSampleRate);
312 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
409 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
H A DFastMixer.cpp208 dumpState->mSampleRate = sampleRate;
293 if (fastTrack->mSampleRate != 0 && fastTrack->mSampleRate != sampleRate) {
295 AudioMixer::SAMPLE_RATE, (void*) fastTrack->mSampleRate);
324 if (fastTrack->mSampleRate != 0 &&
325 fastTrack->mSampleRate != sampleRate) {
327 AudioMixer::SAMPLE_RATE, (void*) fastTrack->mSampleRate);
598 mSampleRate(0), mFrameCount(0), /* mMeasuredWarmupTs({0, 0}), */ mWarmupCycles(0),
669 double mixPeriodSec = (double) mFrameCount / (double) mSampleRate;
676 mSampleRate, mFrameCoun
[all...]
H A DAudioResamplerSinc.cpp257 mFirCoefs = (mInSampleRate <= mSampleRate) ? readResampleCoefficients(true) :
261 mFirCoefs = (mInSampleRate <= mSampleRate) ? mFirCoefsUp : mFirCoefsDown;
289 size_t inFrameCount = (outFrameCount*mInSampleRate)/mSampleRate;
H A DAudioMixer.h240 const uint32_t mSampleRate; member in class:android::AudioMixer
H A DAudioFlinger.cpp1140 mAudioFlinger(audioFlinger), mSampleRate(0), mFrameCount(0), mNormalFrameCount(0),
1285 snprintf(buffer, SIZE, "Sample rate: %d\n", mSampleRate);
1752 (sampleRate == mSampleRate) &&
1769 "mFrameCount=%d format=%d isLinear=%d channelMask=%#x sampleRate=%d mSampleRate=%d "
1773 channelMask, sampleRate, mSampleRate, hasFastMixer(), tid, mFastTrackAvailMask);
1780 uint32_t minBufCount = latencyMs / ((1000 * mNormalFrameCount) / mSampleRate);
1793 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) {
1803 if (sampleRate > mSampleRate*2) {
1804 ALOGE("Sample rate out of range: %d mSampleRate %d", sampleRate, mSampleRate);
[all...]
H A DAudioMixer.cpp101 mSampleRate(sampleRate)
202 t->sampleRate = mSampleRate;
462 if (track.setResampler(uint32_t(valueInt), mSampleRate)) {
475 track.sampleRate = mSampleRate;
/frameworks/av/include/media/
H A DMediaProfiles.h245 mSampleRate(sampleRate),
251 mSampleRate = copy.mSampleRate;
259 int mSampleRate; member in struct:android::MediaProfiles::AudioCodec
H A DSoundPool.h58 int sampleRate() { return mSampleRate; }
69 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data; }
77 uint16_t mSampleRate; member in class:android::Sample
/frameworks/av/include/media/stagefright/
H A DAudioPlayer.h77 int mSampleRate; member in class:android::AudioPlayer
H A DAudioSource.h79 int32_t mSampleRate; member in struct:android::AudioSource
/frameworks/base/media/java/android/media/
H A DAudioRecord.java130 private int mSampleRate = 22050; field in class:AudioRecord
238 mRecordSource, mSampleRate, mChannels, mAudioFormat, mNativeBufferSizeInBytes,
258 // mSampleRate is valid
277 mSampleRate = sampleRateInHz;
370 return mSampleRate;
H A DAudioTrack.java184 private int mSampleRate; // initialized by all constructors field in class:AudioTrack
327 mStreamType, mSampleRate, mChannels, mAudioFormat,
360 // mSampleRate is valid
384 mSampleRate = sampleRateInHz;
537 return mSampleRate;
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp45 mSampleRate(44100) {
119 pcmParams->nSamplingRate = mSampleRate;
156 mSampleRate = pcmParams->nSamplingRate;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp40 mSampleRate(0),
226 return -mLatencyUs + (mNumFramesPlayed * 1000000) / mSampleRate;
505 success = format->findInt32(kKeySampleRate, &mSampleRate);
514 mSampleRate, numChannels, CHANNEL_MASK_USE_CHANNEL_ORDER, AUDIO_FORMAT_PCM_16_BIT,
536 AUDIO_STREAM_MUSIC, mSampleRate, AUDIO_FORMAT_PCM_16_BIT,
818 / mSampleRate;
H A DVideoEditorAudioPlayer.h98 int mSampleRate; member in class:android::VideoEditorAudioPlayer
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp87 const int32_t top = Effects_log2(mSampleRate * 500);
180 high = mSampleRate * 500;
290 : mSampleRate(sampleRate)
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp324 mSampleRate = sampleRate;
799 mSampleRate,
844 encMeta->setInt32(kKeySampleRate, mSampleRate);
1145 audioSampleRate == mSampleRate &&
1189 if (minSampleRate != -1 && mSampleRate < minSampleRate) {
1191 " and will be set to (%d)", mSampleRate, minSampleRate);
1192 mSampleRate = minSampleRate;
1198 if (maxSampleRate != -1 && mSampleRate > maxSampleRate) {
1200 " and will be set to (%d)", mSampleRate, maxSampleRate);
1201 mSampleRate
[all...]
H A DMediaPlayerService.h209 uint32_t sampleRate() const { return mSampleRate; }
230 uint32_t mSampleRate; member in class:android::MediaPlayerService::AudioCache
H A DStagefrightRecorder.h90 int32_t mSampleRate; member in struct:android::StagefrightRecorder
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.h117 SLuint32 mSampleRate; member in class:AudioEngine
H A Dvariablespeed.cc288 mSampleRate(0), mChannels(0),
367 (result * 1000) / mSampleRate / mChannels + startPositionMillis_);
380 timeScaler_->Init(mSampleRate, mChannels, initialRate_, windowDuration_,
545 return mSampleRate * 1000;
594 return mChannels != 0 && mSampleRate != 0;
825 ReadSampleRateAndChannelCount(pCntxt, &mSampleRate, &mChannels);
/frameworks/av/media/libmedia/
H A DVisualizer.cpp43 mSampleRate(44100000),
293 mCaptureCallBack(mCaptureCbkUser, waveSize, wavePtr, fftSize, fftPtr, mSampleRate);

Completed in 179 milliseconds

123