Home | History | Annotate | Download | only in audio_utils

Lines Matching full:temp

29     uint8_t *temp;  // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping
72 handle->temp = NULL;
299 handle->temp = NULL;
328 free(handle->temp);
356 void *temp = NULL;
359 temp = malloc(desiredBytes);
360 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
375 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels);
376 free(temp);
379 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrames * handle->info.channels);
380 free(temp);
402 handle->temp = realloc(handle->temp, desiredBytes);
403 memcpy_to_u8_from_i16(handle->temp, ptr, desiredBytes);
404 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);
411 handle->temp = realloc(handle->temp, desiredBytes);
412 memcpy(handle->temp, ptr, desiredBytes);
413 my_swab((short *) handle->temp, desiredFrames * handle->info.channels);
414 actualBytes = fwrite(handle->temp, sizeof(char), desiredBytes, handle->stream);