Changeset 063fa5a for src/io/source_sndfile.c
- Timestamp:
- Jul 27, 2012, 7:24:32 PM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- e1703b3
- Parents:
- 85ebab8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_sndfile.c
r85ebab8 r063fa5a 90 90 s->input_format = sfinfo.format; 91 91 92 if (s->samplerate == 1) s->samplerate = s->input_samplerate; 93 92 94 /* compute input block size required before resampling */ 93 95 s->ratio = s->samplerate/(float)s->input_samplerate; … … 169 171 } 170 172 173 uint_t aubio_source_sndfile_get_samplerate(aubio_source_sndfile_t * s) { 174 return s->samplerate; 175 } 176 171 177 void del_aubio_source_sndfile(aubio_source_sndfile_t * s){ 172 178 if (!s) return;
Note: See TracChangeset
for help on using the changeset viewer.