Changeset 2da7526 for src/io/source_apple_audio.c
- Timestamp:
- Nov 2, 2015, 12:18:30 AM (9 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:
- 43b7c6d
- Parents:
- 9ee1ee9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_apple_audio.c
r9ee1ee9 r2da7526 52 52 extern int createAubioBufferList(AudioBufferList *bufferList, int channels, int max_source_samples); 53 53 extern void freeAudioBufferList(AudioBufferList *bufferList); 54 extern CFURLRef getURLFromPath(const char * path);54 extern CFURLRef createURLFromPath(const char * path); 55 55 char_t *getPrintableOSStatusError(char_t *str, OSStatus error); 56 56 … … 99 99 100 100 // open the resource url 101 CFURLRef fileURL = getURLFromPath(path);101 CFURLRef fileURL = createURLFromPath(path); 102 102 err = ExtAudioFileOpenURL(fileURL, &s->audioFile); 103 CFRelease(fileURL); 103 104 if (err == -43) { 104 105 AUBIO_ERR("source_apple_audio: Failed opening %s, "
Note: See TracChangeset
for help on using the changeset viewer.