"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "axfer/xfer-libffado.c" between
alsa-utils-1.2.1.tar.bz2 and alsa-utils-1.2.2.tar.bz2

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

xfer-libffado.c  (alsa-utils-1.2.1.tar.bz2):xfer-libffado.c  (alsa-utils-1.2.2.tar.bz2)
skipping to change at line 443 skipping to change at line 443
if (err < 0) if (err < 0)
return err; return err;
// This backend doesn't support resampling. // This backend doesn't support resampling.
if (state->direction == FFADO_CAPTURE) { if (state->direction == FFADO_CAPTURE) {
if (*samples_per_frame == 0) if (*samples_per_frame == 0)
*samples_per_frame = channels; *samples_per_frame = channels;
} }
if (*samples_per_frame != channels) { if (*samples_per_frame != channels) {
fprintf(stderr, fprintf(stderr,
"The number of samples per frame should be %i.\n", "The number of samples per frame should be %u.\n",
channels); channels);
return -EINVAL; return -EINVAL;
} }
// A buffer has interleaved-aligned PCM frames. // A buffer has interleaved-aligned PCM frames.
*access = SND_PCM_ACCESS_RW_INTERLEAVED; *access = SND_PCM_ACCESS_RW_INTERLEAVED;
*frames_per_buffer = *frames_per_buffer =
state->frames_per_period * state->periods_per_buffer; state->frames_per_period * state->periods_per_buffer;
// Use cache for double number of frames per period. // Use cache for double number of frames per period.
 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)