- Timestamp:
- Jul 15, 2012, 8:18:49 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:
- 3a6aa799
- Parents:
- 8aed26d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source.c
r8aed26d r42e6a5e 37 37 aubio_source_t * s = AUBIO_NEW(aubio_source_t); 38 38 #ifdef __APPLE__ 39 s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size);39 s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size); 40 40 if (s->source) return s; 41 41 #else /* __APPLE__ */ 42 42 #if HAVE_SNDFILE 43 s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size);43 s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size); 44 44 if (s->source) return s; 45 45 #endif /* HAVE_SNDFILE */ 46 46 #endif /* __APPLE__ */ 47 if (s->source == NULL) return NULL;47 if (s->source == NULL) { AUBIO_FREE(s); return NULL; } 48 48 } 49 49
Note: See TracChangeset
for help on using the changeset viewer.