Lines Matching refs:destination
78 int16_t *destination, in AAudioConvert_floatToPcm16() argument
84 *destination++ = clipAndClampFloatToPcm16(sample, scaler); in AAudioConvert_floatToPcm16()
89 int16_t *destination, in AAudioConvert_floatToPcm16() argument
100 *destination++ = clipAndClampFloatToPcm16(sample, scaler); in AAudioConvert_floatToPcm16()
109 float *destination, in AAudioConvert_pcm16ToFloat() argument
114 destination[i] = source[i] * scaler; in AAudioConvert_pcm16ToFloat()
120 float *destination, in AAudioConvert_pcm16ToFloat() argument
129 *destination++ = *source++ * scaler; in AAudioConvert_pcm16ToFloat()
138 float *destination, in AAudio_linearRamp() argument
151 *destination++ = sample * scaler; in AAudio_linearRamp()
159 int16_t *destination, in AAudio_linearRamp() argument
171 *destination++ = (int16_t) roundf(sample); in AAudio_linearRamp()
180 int16_t *destination, in AAudioConvert_formatMonoToStereo() argument
187 *destination++ = sample16; in AAudioConvert_formatMonoToStereo()
188 *destination++ = sample16; in AAudioConvert_formatMonoToStereo()
193 int16_t *destination, in AAudioConvert_formatMonoToStereo() argument
203 *destination++ = sample16; in AAudioConvert_formatMonoToStereo()
204 *destination++ = sample16; in AAudioConvert_formatMonoToStereo()
209 float *destination, in AAudioConvert_formatMonoToStereo() argument
215 *destination++ = sample; in AAudioConvert_formatMonoToStereo()
216 *destination++ = sample; in AAudioConvert_formatMonoToStereo()
222 float *destination, in AAudioConvert_formatMonoToStereo() argument
231 *destination++ = sample; in AAudioConvert_formatMonoToStereo()
232 *destination++ = sample; in AAudioConvert_formatMonoToStereo()
238 float *destination, in AAudio_linearRampMonoToStereo() argument
251 *destination++ = sampleScaled; in AAudio_linearRampMonoToStereo()
252 *destination++ = sampleScaled; in AAudio_linearRampMonoToStereo()
258 int16_t *destination, in AAudio_linearRampMonoToStereo() argument
269 *destination++ = sample16; in AAudio_linearRampMonoToStereo()
270 *destination++ = sample16; in AAudio_linearRampMonoToStereo()
277 const FormattedData &destination, in convert() argument
282 if (source.channelCount == 1 && destination.channelCount == 2) { in convert()
284 destination, in convert()
291 assert(source.channelCount == destination.channelCount); in convert()
293 destination, in convert()
302 const FormattedData &destination, in convertMonoToStereo() argument
310 if (destination.format == AAUDIO_FORMAT_PCM_FLOAT) { in convertMonoToStereo()
313 (float *) destination.data, in convertMonoToStereo()
317 } else if (destination.format == AAUDIO_FORMAT_PCM_I16) { in convertMonoToStereo()
321 (int16_t *) destination.data, in convertMonoToStereo()
328 (int16_t *) destination.data, in convertMonoToStereo()
334 if (destination.format == AAUDIO_FORMAT_PCM_FLOAT) { in convertMonoToStereo()
338 (float *) destination.data, in convertMonoToStereo()
345 (float *) destination.data, in convertMonoToStereo()
349 } else if (destination.format == AAUDIO_FORMAT_PCM_I16) { in convertMonoToStereo()
352 (int16_t *) destination.data, in convertMonoToStereo()
362 const FormattedData &destination, in convertChannelsMatch() argument
371 if (destination.format == AAUDIO_FORMAT_PCM_FLOAT) { in convertChannelsMatch()
374 (float *) destination.data, in convertChannelsMatch()
379 } else if (destination.format == AAUDIO_FORMAT_PCM_I16) { in convertChannelsMatch()
383 (int16_t *) destination.data, in convertChannelsMatch()
391 (int16_t *) destination.data, in convertChannelsMatch()
397 if (destination.format == AAUDIO_FORMAT_PCM_FLOAT) { in convertChannelsMatch()
401 (float *) destination.data, in convertChannelsMatch()
409 (float *) destination.data, in convertChannelsMatch()
413 } else if (destination.format == AAUDIO_FORMAT_PCM_I16) { in convertChannelsMatch()
416 (int16_t *) destination.data, in convertChannelsMatch()