HomeSort by relevance Sort by last modified time
    Searched refs:mSampleRate (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/av/services/audioflinger/
FastMixerState.cpp 22 mBufferProvider(NULL), mVolumeProvider(NULL), mSampleRate(0),
FastMixerState.h 45 unsigned mSampleRate; // optional; if zero then use mixer sample rate
  /frameworks/base/core/java/android/speech/srec/
WaveHeader.java 54 private int mSampleRate;
75 mSampleRate = sampleRate;
124 return mSampleRate;
133 mSampleRate = sampleRate;
192 mSampleRate = readInt(in);
196 if (byteRate != mNumChannels * mSampleRate * mBitsPerSample / 8) {
241 writeInt(out, mSampleRate);
242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8);
273 mFormat, mNumChannels, mSampleRate, mBitsPerSample, mNumBytes);
  /frameworks/av/cmds/stagefright/
SineSource.cpp 14 mSampleRate(sampleRate),
54 meta->setInt32(kKeySampleRate, mSampleRate);
76 const double k = kFrequency / mSampleRate * (2.0 * M_PI);
91 kKeyTime, ((int64_t)mPhase * 1000000) / mSampleRate);
SineSource.h 30 int32_t mSampleRate;
  /frameworks/av/media/libstagefright/codecs/raw/
SoftRaw.h 52 int32_t mSampleRate;
  /frameworks/av/include/media/stagefright/
AACWriter.h 61 int32_t mSampleRate;
AudioSource.h 78 int32_t mSampleRate;
  /frameworks/av/media/libstagefright/codecs/aacenc/
SoftAACEncoder.h 57 OMX_U32 mSampleRate;
SoftAACEncoder2.h 54 OMX_U32 mSampleRate;
SoftAACEncoder.cpp 50 mSampleRate(44100),
190 aacParams->nSampleRate = mSampleRate;
214 pcmParams->nSamplingRate = mSampleRate;
275 mSampleRate = aacParams->nSampleRate;
294 mSampleRate = pcmParams->nSamplingRate;
314 mSampleRate, mNumChannels, mBitRate);
324 params.sampleRate = mSampleRate;
361 status_t err = getSampleRateTableIndex(mSampleRate, index);
363 ALOGE("Unsupported sample rate (%lu Hz)", mSampleRate);
459 (copy * 1000000ll / mSampleRate)
    [all...]
SoftAACEncoder2.cpp 45 mSampleRate(44100),
156 aacParams->nSampleRate = mSampleRate;
180 pcmParams->nSamplingRate = mSampleRate;
241 mSampleRate = aacParams->nSampleRate;
263 mSampleRate = pcmParams->nSamplingRate;
308 mSampleRate, mNumChannels, mBitRate);
316 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mSampleRate)) {
437 (copy * 1000000ll / mSampleRate)
  /frameworks/av/media/libstagefright/codecs/flac/enc/
SoftFlacEncoder.h 61 OMX_U32 mSampleRate;
  /frameworks/av/media/libstagefright/include/
WAVExtractor.h 51 uint32_t mSampleRate;
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
RecognizerEngine.java 78 protected int mSampleRate;
84 mSampleRate = 0;
124 if (mSampleRate != sampleRate) {
131 mSampleRate = sampleRate;
  /frameworks/av/include/media/
Visualizer.h 109 uint32_t getSamplingRate() { return mSampleRate; }
159 uint32_t mSampleRate;
  /frameworks/av/libvideoeditor/lvpp/
VideoEditorSRC.cpp 38 mSampleRate = 0;
302 CHECK(format->findInt32(kKeySampleRate, &mSampleRate));
317 if (mSampleRate != mOutputSampleRate || mChannelCnt != 2) {
319 mSampleRate, mOutputSampleRate, mChannelCnt);
327 mResampler->setSampleRate(mSampleRate);
331 mSampleRate, mOutputSampleRate, mChannelCnt);
  /frameworks/av/media/libstagefright/
AACWriter.cpp 42 mSampleRate(-1),
60 mSampleRate(-1) {
100 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate));
130 mFrameDurationUs = (kSamplesPerFrame * 1000000LL + (mSampleRate >> 1))
131 / mSampleRate;
266 CHECK(getSampleRateTableIndex(mSampleRate, &kSampleFreqIndex));
AudioPlayer.cpp 41 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...]
WAVExtractor.cpp 79 int32_t mSampleRate;
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);
AudioSource.cpp 52 mSampleRate(sampleRate),
180 meta->setInt32(kKeySampleRate, mSampleRate);
248 (kAutoRampDurationUs * mSampleRate + 500000LL) / 1000000LL;
251 (kAutoRampStartUs * mSampleRate + 500000LL) / 1000000LL;
355 (mSampleRate >> 1)) / mSampleRate;
  /packages/apps/SpeechRecorder/src/com/android/speechrecorder/
SpeechRecorderActivity.java 62 private int mSampleRate;
153 mSampleRate = m8KHz.isChecked()? 8000 :
156 mBaos = new ByteArrayOutputStream(mSampleRate * 2 * 20);
158 mMicrophone = new MicrophoneInputStream(mSampleRate, mSampleRate * 15);
160 // mMicrophone = logInputStream(mUtterance.toString(), mMicrophone, mSampleRate);
222 (short)1, mSampleRate, (short)16, pcm.length);
  /frameworks/base/voip/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...]
  /hardware/msm7k/libaudio-qdsp5v2/
AudioHardware.h 106 virtual uint32_t sampleRate() const { return mSampleRate; }
130 uint32_t mSampleRate;
  /external/webkit/Source/WebCore/platform/audio/mac/
AudioFileReaderMac.cpp 160 double fileSampleRate = m_fileDataFormat.mSampleRate;
176 m_clientDataFormat.mSampleRate = sampleRate;
183 numberOfFrames64 = numberOfFrames64 * (m_clientDataFormat.mSampleRate / fileSampleRate);
190 audioBus->setSampleRate(m_clientDataFormat.mSampleRate); // save for later

Completed in 414 milliseconds

1 2 3