Lines Matching refs:actualFrames

439     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
489 handle->remaining -= actualFrames; in sf_readf_float()
495 actualFrames * handle->info.channels); in sf_readf_float()
500 memcpy_to_float_from_i16(ptr, (const short *) temp, actualFrames * handle->info.channels); in sf_readf_float()
504 memcpy_to_float_from_i32(ptr, (const int *) ptr, actualFrames * handle->info.channels); in sf_readf_float()
509 memcpy_to_float_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels); in sf_readf_float()
513 memset(ptr, 0, actualFrames * handle->info.channels * sizeof(float)); in sf_readf_float()
516 return actualFrames; in sf_readf_float()
539 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_readf_int() local
540 handle->remaining -= actualFrames; in sf_readf_int()
546 actualFrames * handle->info.channels); in sf_readf_int()
551 memcpy_to_i32_from_i16(ptr, (const short *) temp, actualFrames * handle->info.channels); in sf_readf_int()
557 memcpy_to_i32_from_float(ptr, (const float *) ptr, actualFrames * handle->info.channels); in sf_readf_int()
560 memcpy_to_i32_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels); in sf_readf_int()
564 memset(ptr, 0, actualFrames * handle->info.channels * sizeof(int)); in sf_readf_int()
567 return actualFrames; in sf_readf_int()
602 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_writef_short() local
603 handle->remaining += actualFrames; in sf_writef_short()
604 return actualFrames; in sf_writef_short()
627 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_writef_float() local
628 handle->remaining += actualFrames; in sf_writef_float()
629 return actualFrames; in sf_writef_float()
645 size_t actualFrames = actualBytes / handle->bytesPerFrame; in sf_writef_int() local
646 handle->remaining += actualFrames; in sf_writef_int()
647 return actualFrames; in sf_writef_int()