/frameworks/base/cmds/stagefright/ |
H A D | sf2.cpp | 276 int32_t numChannels, sampleRate; local 278 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 281 msg->setInt32("sample-rate", sampleRate);
|
H A D | stagefright.cpp | 972 long sampleRate = strtol(filename + 5, &end, 10); local 975 sampleRate = 44100; 977 mediaSource = new SineSource(sampleRate, 1);
|
/frameworks/base/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 136 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 D | AudioSystem.h | 92 static status_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount,
|
H A D | MediaPlayerInterface.h | 87 uint32_t sampleRate, int channelCount,
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.h | 159 status_t setParamAudioSamplingRate(int32_t sampleRate);
|
H A D | StagefrightRecorder.cpp | 315 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 D | MidiFile.cpp | 423 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, AUDIO_FORMAT_PCM_16_BIT, 2) != NO_ERROR) {
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 475 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 D | VideoEditorAudioDecoder.cpp | 740 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 D | MPEG4Extractor.cpp | 1788 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 D | ACodec.cpp | 755 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 D | MPEG4Writer.cpp | 1209 int32_t sampleRate; 1210 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate); 1212 mTimeScale = sampleRate;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 783 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 D | AudioTrack.java | 1149 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 D | JetPlayer.cpp | 93 pLibConfig->sampleRate,
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 335 int32_t sampleRate; local 337 CHECK(mFormat->findInt32(kKeySampleRate, &sampleRate)); 341 sampleRate, numChannels);
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 245 SLuint32 sampleRate = *(reinterpret_cast<SLuint32*>(value->data)); local 246 LOGD("sample Rate: %d", sampleRate); 247 *sampleRateOut = sampleRate;
|