Home | History | Annotate | Download | only in audio_utils

Lines Matching refs:temp

32     uint8_t *temp;  // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping
77 handle->temp = NULL;
369 handle->temp = NULL;
402 free(handle->temp);
431 void *temp = NULL;
434 temp = malloc(desiredBytes);
435 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
450 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels);
451 free(temp);
454 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrames * handle->info.channels);
455 free(temp);
458 memcpy_to_i16_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels);
459 free(temp);
480 void *temp = NULL;
483 temp = malloc(desiredBytes);
484 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
494 memcpy_to_float_from_u8(ptr, (const unsigned char *) temp,
497 free(temp);
500 memcpy_to_float_from_i16(ptr, (const short *) temp, actualFrames * handle->info.channels);
501 free(temp);
509 memcpy_to_float_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels);
510 free(temp);
530 void *temp = NULL;
534 temp = malloc(desiredBytes);
535 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
545 memcpy_to_i32_from_u8(ptr, (const unsigned char *) temp,
548 free(temp);
551 memcpy_to_i32_from_i16(ptr, (const short *) temp, actualFrames * handle->info.channels);
552 free(temp);
560 memcpy_to_i32_from_p24(ptr, (const uint8_t *) temp, actualFrames * handle->info.channels);
561 free(temp);
578 handle->temp = realloc(handle->temp, desiredBytes);
579 memcpy_to_u8_from_i16(handle->temp, ptr, desiredBytes);
580 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);
587 handle->temp = realloc(handle->temp, desiredBytes);
588 memcpy(handle->temp, ptr, desiredBytes);
589 my_swab((short *) handle->temp, desiredFrames * handle->info.channels);
590 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);
594 handle->temp = realloc(handle->temp, desiredBytes);
595 memcpy_to_float_from_i16((float *) handle->temp, ptr,
597 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);
618 handle->temp = realloc(handle->temp, desiredBytes);
619 memcpy_to_i16_from_float((short *) handle->temp, ptr,
621 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);