src/audio/SDL_audiocvt.c
changeset 2879 3ff86c46d324
parent 2878 10c319ce07fb
child 2880 3c2f56e433a8
equal deleted inserted replaced
2878:10c319ce07fb 2879:3ff86c46d324
  1834     printf("Build format %04x->%04x, channels %u->%u, rate %d->%d\n",
  1834     printf("Build format %04x->%04x, channels %u->%u, rate %d->%d\n",
  1835            src_fmt, dst_fmt, src_channels, dst_channels, src_rate, dst_rate);
  1835            src_fmt, dst_fmt, src_channels, dst_channels, src_rate, dst_rate);
  1836 #endif
  1836 #endif
  1837 
  1837 
  1838     /* Start off with no conversion necessary */
  1838     /* Start off with no conversion necessary */
  1839     SDL_memset(cvt, '\0', sizeof (SDL_AudioCVT));
  1839     SDL_zerop(cvt);
  1840     cvt->src_format = src_fmt;
  1840     cvt->src_format = src_fmt;
  1841     cvt->dst_format = dst_fmt;
  1841     cvt->dst_format = dst_fmt;
  1842     cvt->needed = 0;
  1842     cvt->needed = 0;
  1843     cvt->filter_index = 0;
  1843     cvt->filter_index = 0;
  1844     cvt->filters[0] = NULL;
  1844     cvt->filters[0] = NULL;