"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "axfer/subcmd-transfer.c" between
alsa-utils-1.2.5.tar.bz2 and alsa-utils-1.2.5.1.tar.bz2

About: ALSA (Advanced Linux Sound Architecture) - Utilities.

subcmd-transfer.c  (alsa-utils-1.2.5.tar.bz2):subcmd-transfer.c  (alsa-utils-1.2.5.1.tar.bz2)
skipping to change at line 158 skipping to change at line 158
return xfer_context_init(&ctx->xfer, xfer_type, direction, argc, argv); return xfer_context_init(&ctx->xfer, xfer_type, direction, argc, argv);
} }
static int allocate_containers(struct context *ctx, unsigned int count) static int allocate_containers(struct context *ctx, unsigned int count)
{ {
ctx->cntrs = calloc(count, sizeof(*ctx->cntrs)); ctx->cntrs = calloc(count, sizeof(*ctx->cntrs));
if (ctx->cntrs == NULL) if (ctx->cntrs == NULL)
return -ENOMEM; return -ENOMEM;
ctx->cntr_count = count; ctx->cntr_count = count;
ctx->cntr_fds = calloc(count, sizeof(*ctx->cntrs)); ctx->cntr_fds = calloc(count, sizeof(*ctx->cntr_fds));
if (ctx->cntr_fds == NULL) if (ctx->cntr_fds == NULL)
return -ENOMEM; return -ENOMEM;
return 0; return 0;
} }
static int capture_pre_process(struct context *ctx, snd_pcm_access_t *access, static int capture_pre_process(struct context *ctx, snd_pcm_access_t *access,
snd_pcm_uframes_t *frames_per_buffer, snd_pcm_uframes_t *frames_per_buffer,
uint64_t *total_frame_count) uint64_t *total_frame_count)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)