/external/sonivox/arm-fm-22k/host_src/ |
eas.h | 55 EAS_I32 sampleRate; [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas.h | 55 EAS_I32 sampleRate; [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas.h | 55 EAS_I32 sampleRate; [all...] |
/external/srec/srec/include/ |
utteranc.h | 221 unsigned long sampleRate; 229 int update_utb_header(file_utterance_info *utt, int frames, int samplerate, 231 void init_utt_v5_header(UttHeader *uhead, int dim, int samplerate, int framerate);
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 583 int32_t sampleRate; 585 CHECK(format->findInt32("sample-rate", &sampleRate)); 589 sampleRate,
|
sf2.cpp | 284 int32_t numChannels, sampleRate; 286 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 289 msg->setInt32("sample-rate", sampleRate);
|
/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 227 uint32_t sampleRate; 231 status_t status = decode(url, &sampleRate, &numChannels, &format, heap, &size); 234 reply->writeInt32(sampleRate); 247 uint32_t sampleRate; 251 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format, 255 reply->writeInt32(sampleRate);
|
SoundPool.cpp | 491 uint32_t sampleRate; 499 status = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format, mHeap, &mSize); 501 status = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 511 ALOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d", 512 mHeap->getBase(), mSize, sampleRate, numChannels); 514 if (sampleRate > kMaxSampleRate) { 515 ALOGE("Sample rate (%u) out of range", sampleRate); 527 mSampleRate = sampleRate; 579 uint32_t sampleRate = uint32_t(float(sample->sampleRate()) * rate + 0.5) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_configuration.c | 39 Word32 sampleRate; 69 Word32 GetSRIndex(Word32 sampleRate) 71 if (92017 <= sampleRate) return 0; 72 if (75132 <= sampleRate) return 1; 73 if (55426 <= sampleRate) return 2; 74 if (46009 <= sampleRate) return 3; 75 if (37566 <= sampleRate) return 4; 76 if (27713 <= sampleRate) return 5; 77 if (23004 <= sampleRate) return 6; 78 if (18783 <= sampleRate) return 7 [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
AMPEG4ElementaryAssembler.cpp | 89 static bool GetSampleRateIndex(int32_t sampleRate, size_t *tableIndex) { 99 if (sampleRate == kSampleRateTable[index]) { 189 int32_t sampleRate, numChannels; 191 desc.c_str(), &sampleRate, &numChannels); 194 CHECK(GetSampleRateIndex(sampleRate, &mSampleRateIndex));
|
APacketSource.cpp | 473 int32_t sampleRate, numChannels; 475 desc.c_str(), &sampleRate, &numChannels); 477 mFormat->setInt32(kKeySampleRate, sampleRate); 489 int32_t sampleRate, numChannels; 491 desc.c_str(), &sampleRate, &numChannels); 493 mFormat->setInt32(kKeySampleRate, sampleRate); 496 if (sampleRate != 8000 || numChannels != 1) { 502 int32_t sampleRate, numChannels; 504 desc.c_str(), &sampleRate, &numChannels); 506 mFormat->setInt32(kKeySampleRate, sampleRate); [all...] |
ARTPWriter.cpp | 475 int32_t sampleRate, numChannels; 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/av/services/audioflinger/ |
FastMixer.cpp | 75 unsigned sampleRate = 0; 233 sampleRate = 0; 236 sampleRate = Format_sampleRate(format); 239 dumpState->mSampleRate = sampleRate; 248 if (frameCount > 0 && sampleRate > 0) { 252 mixer = new AudioMixer(frameCount, sampleRate, FastMixerState::kMaxFastTracks); 254 periodNs = (frameCount * 1000000000LL) / sampleRate; // 1.00 255 underrunNs = (frameCount * 1750000000LL) / sampleRate; // 1.75 256 overrunNs = (frameCount * 500000000LL) / sampleRate; // 0.50 257 forceNs = (frameCount * 950000000LL) / sampleRate; // 0.9 [all...] |
TrackBase.h | 42 uint32_t sampleRate, 77 virtual uint32_t sampleRate() const { return mSampleRate; }
|
/frameworks/wilhelm/tests/examples/ |
slesTestFeedback.cpp | 38 static SLuint32 sampleRate = 44100; // -s# 214 sampleRate = atoi(&arg[2]); 215 switch (sampleRate) { 228 (unsigned) sampleRate); 303 pcm.samplesPerSec = sampleRate * 1000;
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 72 lRate = outFinal->sampleRate(); 88 if (sampleRate != 0) { 89 if (*sampleRate != 0) { 90 lRate = *sampleRate; 92 *sampleRate = lRate; 127 uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 138 lRate = inFinal->sampleRate(); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncoderTest.java | 275 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); 277 int inBitrate = sampleRate * channelCount * 16; // bit/sec
|
/external/aac/libAACenc/src/ |
aacenc.h | 183 INT sampleRate; /* encoder sample rate */
|
psy_configuration.cpp | 100 LONG sampleRate; 211 static AAC_ENCODER_ERROR FDKaacEnc_initSfbTable(LONG sampleRate, INT blockType, INT granuleLength, INT *sfbOffset, INT *sfbCnt) 240 if(sfbInfo[i].sampleRate == sampleRate){ 459 const LONG samplerate, 484 barcFactor = fDivNorm(fixMin(FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfbActive], samplerate), MAX_BARC), 489 pePerWindow = fDivNorm(bitrate, samplerate, &qperwin); 520 barcWidth = FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb+1], samplerate) - 521 FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb], samplerate); 569 INT samplerate, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
DynamicsCompressorKernel.cpp | 51 DynamicsCompressorKernel::DynamicsCompressorKernel(float sampleRate, unsigned numberOfChannels) 52 : m_sampleRate(sampleRate) 71 m_meteringReleaseK = static_cast<float>(discreteTimeConstantForSampleRate(meteringReleaseTimeConstant, sampleRate)); 87 unsigned preDelayFrames = preDelayTime * sampleRate(); 226 float sampleRate = this->sampleRate(); 244 float attackFrames = attackTime * sampleRate; 247 float releaseFrames = sampleRate * releaseTime; 251 float satReleaseFrames = satReleaseTime * sampleRate;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
AudioSampleEntry.java | 55 private long sampleRate; 82 return sampleRate; 133 public void setSampleRate(long sampleRate) { 134 this.sampleRate = sampleRate; 198 //sampleRate = in.readFixedPoint1616(); 199 sampleRate = IsoTypeReader.readUInt32(content); 201 sampleRate = sampleRate >>> 16; 242 ", sampleRate=" + sampleRate [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_pcmdata.h | 113 EAS_U16 sampleRate; /* input sample rate */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_pcmdata.h | 113 EAS_U16 sampleRate; /* input sample rate */
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_pcmdata.h | 113 EAS_U16 sampleRate; /* input sample rate */
|
/frameworks/av/media/libstagefright/ |
Utils.cpp | 106 int32_t numChannels, sampleRate; 108 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 111 msg->setInt32("sample-rate", sampleRate); 409 int32_t sampleRate; 410 if (msg->findInt32("sample-rate", &sampleRate)) { 411 meta->setInt32(kKeySampleRate, sampleRate); 482 int32_t sampleRate = 0; 490 if (meta->findInt32(kKeySampleRate, &sampleRate)) { 491 param.addInt(String8(AUDIO_OFFLOAD_CODEC_SAMPLE_RATE), sampleRate); 506 ALOGV("sendMetaDataToHal: bitRate %d, sampleRate %d, chanMask %d, [all...] |