Searched refs:mSampleRate (Results 1 - 25 of 54) sorted by path

123

/frameworks/av/cmds/stagefright/
H A DSineSource.cpp14 mSampleRate(sampleRate),
54 meta->setInt32(kKeySampleRate, mSampleRate);
76 const double k = kFrequency / mSampleRate * (2.0 * M_PI);
91 kKeyTime, ((int64_t)mPhase * 1000000) / mSampleRate);
H A DSineSource.h30 int32_t mSampleRate; member in struct:android::SineSource
/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
H A DVisualizer.h109 uint32_t getSamplingRate() { return mSampleRate; }
157 uint32_t mSampleRate; member in class:android::Visualizer
/frameworks/av/include/media/stagefright/
H A DAACWriter.h61 int32_t mSampleRate; member in struct:android::AACWriter
H A DAudioPlayer.h77 int mSampleRate; member in class:android::AudioPlayer
H A DAudioSource.h79 int32_t mSampleRate; member in struct:android::AudioSource
/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
H A DVideoEditorSRC.cpp38 mSampleRate = 0;
302 CHECK(format->findInt32(kKeySampleRate, &mSampleRate));
317 if (mSampleRate != mOutputSampleRate || mChannelCnt != 2) {
319 mSampleRate, mOutputSampleRate, mChannelCnt);
326 mResampler->setSampleRate(mSampleRate);
330 mSampleRate, mOutputSampleRate, mChannelCnt);
H A DVideoEditorSRC.h61 int mSampleRate; member in class:android::VideoEditorSRC
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp87 const int32_t top = Effects_log2(mSampleRate * 500);
180 high = mSampleRate * 500;
290 : mSampleRate(sampleRate)
H A DAudioEqualizer.h208 int mSampleRate; member in class:android::AudioEqualizer
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp101 ALOGV("sample rate: %d", codec.mSampleRate);
1123 if (!strcmp("aud.hz", name)) return mCamcorderProfiles[index]->mAudioCodec->mSampleRate;
H A DSoundPool.cpp533 mSampleRate = sampleRate;
H A DVisualizer.cpp43 mSampleRate(44100000),
293 mCaptureCallBack(mCaptureCbkUser, waveSize, wavePtr, fftSize, fftPtr, mSampleRate);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp314 mSampleRate, mSize, mError, mCommandComplete?"true":"false");
1679 mChannelCount(0), mFrameCount(1024), mSampleRate(0), mSize(0),
1784 mSampleRate = sampleRate;
H A DMediaPlayerService.h209 uint32_t sampleRate() const { return mSampleRate; }
230 uint32_t mSampleRate; member in class:android::MediaPlayerService::AudioCache
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 DStagefrightRecorder.h90 int32_t mSampleRate; member in struct:android::StagefrightRecorder
/frameworks/av/media/libstagefright/
H A DAACWriter.cpp44 mSampleRate(-1),
62 mSampleRate(-1) {
102 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate));
132 mFrameDurationUs = (kSamplesPerFrame * 1000000LL + (mSampleRate >> 1))
133 / mSampleRate;
268 CHECK(getSampleRateTableIndex(mSampleRate, &kSampleFreqIndex));
H A DAudioPlayer.cpp41 mSampleRate(0),
115 success = format->findInt32(kKeySampleRate, &mSampleRate);
132 mSampleRate, numChannels, channelMask, AUDIO_FORMAT_PCM_16_BIT,
165 AUDIO_STREAM_MUSIC, mSampleRate, AUDIO_FORMAT_PCM_16_BIT, audioMask,
301 return mAudioTrack->setSampleRate(ratePermille * mSampleRate / 1000);
427 (1000000ll * numFramesPendingPlayout) / mSampleRate;
432 / mSampleRate);
462 / mSampleRate;
523 CHECK_NE(mSampleRate, 0);
524 int64_t result = -mLatencyUs + (mNumFramesPlayed * 1000000) / mSampleRate;
[all...]
H A DAudioSource.cpp54 mSampleRate(sampleRate),
176 meta->setInt32(kKeySampleRate, mSampleRate);
244 (kAutoRampDurationUs * mSampleRate + 500000LL) / 1000000LL;
247 (kAutoRampStartUs * mSampleRate + 500000LL) / 1000000LL;
353 (mSampleRate >> 1)) / mSampleRate;
H A DWAVExtractor.cpp79 int32_t mSampleRate; member in struct:android::WAVSource
205 mSampleRate = U32_LE_AT(&formatSpec[4]);
207 if (mSampleRate == 0) {
295 mTrackMeta->setInt32(kKeySampleRate, mSampleRate);
301 / mSampleRate;
326 mSampleRate(0),
333 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate));
391 int64_t pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
476 / (mNumChannels * bytesPerSample) / mSampleRate);

Completed in 195 milliseconds

123