HomeSort by relevance Sort by last modified time
    Searched defs:samplesPerFrame (Results 1 - 15 of 15) sorted by null

  /frameworks/av/media/libaaudio/examples/utils/
AAudioSimpleRecorder.h 190 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream);
192 float zeros[numFrames * samplesPerFrame];
263 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream);
271 sample = audioBuffer[frameIndex * samplesPerFrame] * (1.0/32768);
283 sample = audioBuffer[frameIndex * samplesPerFrame];
AAudioSimplePlayer.h 189 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream);
191 float zeros[numFrames * samplesPerFrame];
303 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream);
310 sineData->sineOsc1.render(&audioBuffer[0], samplesPerFrame, numFrames);
312 if (samplesPerFrame > 1) {
313 sineData->sineOsc2.render(&audioBuffer[1], samplesPerFrame, numFrames);
320 sineData->sineOsc1.render(&audioBuffer[0], samplesPerFrame, numFrames);
322 if (samplesPerFrame > 1) {
323 sineData->sineOsc2.render(&audioBuffer[1], samplesPerFrame, numFrames);
  /external/aac/libMpegTPEnc/src/
tpenc_asc.cpp 377 int samplesPerFrame = config->samplesPerFrame;
380 FDKwriteBits( asc, ((samplesPerFrame==960 || samplesPerFrame==480)?1:0), 1); /* frameLengthFlag: 1 for a 960/480 (I)MDCT, 0 for a 1024/512 (I)MDCT*/
420 FDKwriteBits(hBs, (config->samplesPerFrame == 480) ? 1 : 0, 1);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
SyncSampleIntersectFinderImpl.java 104 long samplesPerFrame = sttsEntry.getDelta(); // Assuming all audio tracks have the same number of samples per frame, which they do for all known types
107 long start = (long) Math.ceil(stretch * (refSyncSamples[i] - 1) * samplesPerFrame);
117 long samplesPerFrame = sttsEntry.getDelta(); // Assuming all audio tracks have the same number of samples per frame, which they do for all known types
123 syncSamples[i] = (long) (1 + syncSamples[i] * factor / (double) samplesPerFrame);
  /frameworks/av/media/libaaudio/src/legacy/
AudioStreamRecord.cpp 59 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED)
61 audio_channel_mask_t channelMask = audio_channel_in_mask_from_count(samplesPerFrame);
AudioStreamTrack.cpp 63 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED)
65 audio_channel_mask_t channelMask = audio_channel_out_mask_from_count(samplesPerFrame);
  /external/aac/libMpegTPDec/src/
tpdec_lib.cpp 480 INT samplesPerFrame = hTp->asc->m_samplesPerFrame;
486 if ( (samplesPerFrame == 0 ) || (samplingFrequency == 0) ) {
491 maxAU = hTp->burstPeriod * samplingFrequency + (samplesPerFrame*1000 - 1);
492 maxAU = maxAU / (samplesPerFrame*1000);
496 avgBitsPerFrame = hTp->avgBitRate * samplesPerFrame + (samplingFrequency-1);
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_mdls.h 272 EAS_INT samplesPerFrame;
  /hardware/interfaces/media/omx/1.0/vts/functional/audio/
VtsHalMediaOmxV1_0TargetAudioEncTest.cpp 384 int32_t samplesPerFrame, int32_t nChannels,
390 int bytesCount = samplesPerFrame * nChannels * 2;
392 (int)(((float)samplesPerFrame / nSampleRate) * 1000000);
494 int32_t samplesPerFrame = 1024;
500 samplesPerFrame = 160;
506 samplesPerFrame = 160;
512 samplesPerFrame = 1024;
518 samplesPerFrame = 1152;
544 128, samplesPerFrame, nChannels,
  /cts/tests/tests/media/src/android/media/cts/
AudioTrackLatencyTest.java 123 public int samplesPerFrame = 2;
138 samplesPerFrame, 1, amplitude);
149 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample);
165 int framesWrittenTotal = samplesWrittenTotal / samplesPerFrame;
182 int framesRemaining = samplesRemaining / samplesPerFrame;
  /frameworks/av/media/libeffects/lvm/wrapper/Reverb/
EffectReverb.cpp 478 LVM_INT16 samplesPerFrame = 1;
508 samplesPerFrame = 2;
523 fwrite(pIn, frameCount*sizeof(LVM_INT16)*samplesPerFrame, 1, pContext->PcmInPtr);
534 Int16ToFloat(pIn, pInputBuff, frameCount * samplesPerFrame);
536 for(int i=0; i<frameCount*samplesPerFrame; i++){
562 memset(pInputBuff, 0, frameCount * sizeof(LVM_FLOAT) * samplesPerFrame);
564 memset(pContext->InFrames32,0,frameCount * sizeof(LVM_INT32) * samplesPerFrame);
566 ALOGV("\tZeroing %d samples per frame at the end of call", samplesPerFrame);
    [all...]
  /external/aac/libSYS/include/
FDK_audio.h 335 int samplesPerFrame; /**< Number of PCM samples per codec frame and audio channel. */
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
mp4lib_int.h 287 Int samplesPerFrame[30]; /* number of samples per frame, 30->30fps */
  /packages/apps/TV/libs/
exoplayer.jar 
exoplayer_v2.jar 

Completed in 735 milliseconds