Home | History | Annotate | Download | only in audio_utils

Lines Matching refs:desiredFrames

345 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames)
348 desiredFrames <= 0) {
351 if (handle->remaining < (size_t) desiredFrames)
352 desiredFrames = handle->remaining;
354 size_t desiredBytes = desiredFrames * handle->bytesPerFrame;
389 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames)
394 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames)
396 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0)
398 size_t desiredBytes = desiredFrames * handle->bytesPerFrame;
413 my_swab((short *) handle->temp, desiredFrames * handle->info.channels);
426 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames)
428 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0)
430 size_t desiredBytes = desiredFrames * handle->bytesPerFrame;