Searched refs:sampleRate (Results 76 - 93 of 93) sorted by relevance

1234

/frameworks/base/cmds/stagefright/
H A Dsf2.cpp276 int32_t numChannels, sampleRate; local
278 CHECK(meta->findInt32(kKeySampleRate, &sampleRate));
281 msg->setInt32("sample-rate", sampleRate);
H A Dstagefright.cpp972 long sampleRate = strtol(filename + 5, &end, 10); local
975 sampleRate = 44100;
977 mediaSource = new SineSource(sampleRate, 1);
/frameworks/base/services/audioflinger/
H A DAudioResamplerSinc.cpp136 int inChannelCount, int32_t sampleRate)
137 : AudioResampler(bitDepth, inChannelCount, sampleRate),
135 AudioResamplerSinc(int bitDepth, int inChannelCount, int32_t sampleRate) argument
/frameworks/base/include/media/
H A DAudioSystem.h92 static status_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount,
H A DMediaPlayerInterface.h87 uint32_t sampleRate, int channelCount,
/frameworks/base/media/libmediaplayerservice/
H A DStagefrightRecorder.h159 status_t setParamAudioSamplingRate(int32_t sampleRate);
H A DStagefrightRecorder.cpp315 status_t StagefrightRecorder::setParamAudioSamplingRate(int32_t sampleRate) { argument
316 LOGV("setParamAudioSamplingRate: %d", sampleRate);
317 if (sampleRate <= 0) {
318 LOGE("Invalid audio sampling rate: %d", sampleRate);
323 mSampleRate = sampleRate;
H A DMidiFile.cpp423 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, AUDIO_FORMAT_PCM_16_BIT, 2) != NO_ERROR) {
/frameworks/base/media/libstagefright/rtsp/
H A DARTPWriter.cpp475 int32_t sampleRate, numChannels; local
476 CHECK(mSource->getFormat()->findInt32(kKeySampleRate, &sampleRate));
480 CHECK_EQ(sampleRate, (mMode == AMR_NB) ? 8000 : 16000);
483 sdp.append(StringPrintf("/%d/%d", sampleRate, numChannels));
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioDecoder.cpp740 int32_t sampleRate, channelCount; local
742 CHECK(meta->findInt32(kKeySampleRate, &sampleRate));
744 LOGV("VideoEditorAudioDecoder_step: samplingFreq = %d", sampleRate);
747 (uint32_t)sampleRate;
/frameworks/base/media/libstagefright/
H A DMPEG4Extractor.cpp1788 int32_t sampleRate = 0; local
1795 sampleRate = (csd[1] & 0x7f) << 17
1811 sampleRate = kSamplingRate[freqIndex];
1822 if (prevSampleRate != sampleRate) {
1824 "was: %d, now: %d", prevSampleRate, sampleRate);
1827 mLastTrack->meta->setInt32(kKeySampleRate, sampleRate);
H A DACodec.cpp755 int32_t numChannels, sampleRate; local
757 CHECK(msg->findInt32("sample-rate", &sampleRate));
759 CHECK_EQ(setupAACDecoder(numChannels, sampleRate), (status_t)OK);
822 status_t ACodec::setupAACDecoder(int32_t numChannels, int32_t sampleRate) { argument
835 profile.nSampleRate = sampleRate;
866 kPortIndexInput, 8000 /* sampleRate */, numChannels);
870 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) {
906 pcmParams.nSamplingRate = sampleRate;
869 setupRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument
H A DMPEG4Writer.cpp1209 int32_t sampleRate;
1210 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate);
1212 mTimeScale = sampleRate;
/frameworks/base/media/java/android/media/
H A DAudioRecord.java783 int recordSource, int sampleRate, int nbChannels, int audioFormat,
782 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int[] sessionId) argument
H A DAudioTrack.java1149 int streamType, int sampleRate, int nbChannels, int audioFormat,
1148 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument
/frameworks/base/media/libmedia/
H A DJetPlayer.cpp93 pLibConfig->sampleRate,
/frameworks/base/media/libstagefright/mpeg2ts/
H A DESQueue.cpp335 int32_t sampleRate; local
337 CHECK(mFormat->findInt32(kKeySampleRate, &sampleRate));
341 sampleRate, numChannels);
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc245 SLuint32 sampleRate = *(reinterpret_cast<SLuint32*>(value->data)); local
246 LOGD("sample Rate: %d", sampleRate);
247 *sampleRateOut = sampleRate;

Completed in 561 milliseconds

1234