Searched refs:samplesPerFrame (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/services/oboeservice/
H A DAAudioMixer.cpp40 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { argument
41 mSamplesPerFrame = samplesPerFrame;
43 int32_t samplesPerBuffer = samplesPerFrame * framesPerBurst;
H A DAAudioMixer.h30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h189 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); local
191 float zeros[numFrames * samplesPerFrame];
303 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); local
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);
H A DAAudioSimpleRecorder.h190 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); local
192 float zeros[numFrames * samplesPerFrame];
263 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); local
271 sample = audioBuffer[frameIndex * samplesPerFrame] * (1.0/32768);
283 sample = audioBuffer[frameIndex * samplesPerFrame];
/frameworks/av/media/libaaudio/src/core/
H A DAAudioStreamParameters.h55 void setSamplesPerFrame(int32_t samplesPerFrame) { argument
56 mSamplesPerFrame = samplesPerFrame;
H A DAudioStream.h382 void setSamplesPerFrame(int32_t samplesPerFrame) { argument
383 mSamplesPerFrame = samplesPerFrame;
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.h62 * @param samplesPerFrame AKA number of channels
69 int32_t samplesPerFrame,
104 * @param samplesPerFrame AKA number of channels
111 int32_t samplesPerFrame,
124 * @param samplesPerFrame
131 int32_t samplesPerFrame,
144 * @param samplesPerFrame
151 int32_t samplesPerFrame,
H A DAAudioUtilities.cpp117 int32_t samplesPerFrame,
124 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) {
148 int32_t samplesPerFrame,
154 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) {
165 int32_t samplesPerFrame,
171 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) {
188 int32_t samplesPerFrame,
194 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) {
114 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
145 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
162 AAudio_linearRamp(const float *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
185 AAudio_linearRamp(const int16_t *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp59 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) local
61 audio_channel_mask_t channelMask = audio_channel_in_mask_from_count(samplesPerFrame);
H A DAudioStreamTrack.cpp63 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) local
65 audio_channel_mask_t channelMask = audio_channel_out_mask_from_count(samplesPerFrame);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp478 LVM_INT16 samplesPerFrame = 1; local
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);
/frameworks/av/media/libaaudio/include/aaudio/
H A DAAudio.h240 * @param samplesPerFrame Number of samples in a frame.
243 int32_t samplesPerFrame);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h287 Int samplesPerFrame[30]; /* number of samples per frame, 30->30fps */ member in struct:tagMultiPass
H A Drate_control.cpp315 /* for pMP->samplesPerFrame */
316 pMP->samplesPerFrame[pMP->framePos] = 0;
745 for (i = 1; i < pMP->samplesPerFrame[j]; i++)

Completed in 170 milliseconds