Changes in / [75eb182:6abb4de]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/test-source_sndfile.c

    r75eb182 r6abb4de  
    2727  fvec_t *vec = new_fvec(hop_size);
    2828  aubio_source_sndfile_t * s = new_aubio_source_sndfile(source_path, samplerate, hop_size);
     29  if (samplerate == 0 ) samplerate = aubio_source_sndfile_get_samplerate(s);
     30
    2931  if (!s) { err = 1; goto beach; }
    30   if (samplerate == 0 ) samplerate = aubio_source_sndfile_get_samplerate(s);
    3132
    3233  do {
     
    3637  } while ( read == hop_size );
    3738
     39beach:
    3840  del_aubio_source_sndfile (s);
    39 beach:
    4041  del_fvec (vec);
    4142#else
Note: See TracChangeset for help on using the changeset viewer.