Home
last modified time | relevance | path

Searched refs:actualFrames (Results 1 – 1 of 1) sorted by relevance

/system/media/audio_utils/
Dtinysndfile.c439 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_readf_short() local
440 handle->remaining -= actualFrames; in sf_readf_short()
443 memcpy_to_i16_from_u8(ptr, (unsigned char *) ptr, actualFrames * handle->info.channels); in sf_readf_short()
447 my_swab(ptr, actualFrames * handle->info.channels); in sf_readf_short()
450 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels); in sf_readf_short()
454 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrames * handle->info.channels); in sf_readf_short()
458 memcpy_to_i16_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels); in sf_readf_short()
462 memset(ptr, 0, actualFrames * handle->info.channels * sizeof(short)); in sf_readf_short()
465 return actualFrames; in sf_readf_short()
488 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_readf_float() local
[all …]