Changeset 018e511
- Timestamp:
- Dec 8, 2013, 5:52:09 PM (11 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:
- 969bbb2
- Parents:
- 6bc52cc
- Location:
- src/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r6bc52cc r018e511 161 161 } 162 162 s->samplerate = samplerate; 163 164 if (s->samplerate > s->input_samplerate) { 165 AUBIO_WRN("upsampling %s from %d to %d\n", s->path, 166 s->input_samplerate, s->samplerate); 167 } 163 168 164 169 AVFrame *avFrame = s->avFrame; -
src/io/source_sndfile.c
r6bc52cc r018e511 122 122 // we would need to add a ring buffer for these 123 123 if ( (uint_t)(s->input_hop_size * s->ratio + .5) != s->hop_size ) { 124 AUBIO_ERR("can not upsample from %d to %d\n", s->input_samplerate, s->samplerate); 124 AUBIO_ERR("can not upsample %s from %d to %d\n", s->path, 125 s->input_samplerate, s->samplerate); 125 126 goto beach; 126 127 } 127 AUBIO_WRN("upsampling %s from %d to % d\n", s->path, s->input_samplerate, s->samplerate); 128 AUBIO_WRN("upsampling %s from %d to %d\n", s->path, 129 s->input_samplerate, s->samplerate); 128 130 } 129 131 }
Note: See TracChangeset
for help on using the changeset viewer.