Changeset 047d276
- Timestamp:
- Aug 24, 2014, 7:24:09 PM (10 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:
- 3c5ee41
- Parents:
- 81c99be
- git-author:
- Paul Brossier <piem@piem.org> (07/21/14 03:55:06)
- git-committer:
- Paul Brossier <piem@piem.org> (08/24/14 19:24:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_apple_audio.c
r81c99be r047d276 61 61 aubio_source_apple_audio_t * s = AUBIO_NEW(aubio_source_apple_audio_t); 62 62 63 if (path == NULL) { 64 AUBIO_ERROR("source_apple_audio: Aborted opening null path\n"); 65 goto beach; 66 } 67 68 if ( (sint_t)block_size <= 0 ) { 69 AUBIO_ERROR("source_apple_audio: Can not open %s with null or negative block_size %d\n", 70 path, block_size); 71 goto beach; 72 } 73 74 if ( (sint_t)samplerate < 0 ) { 75 AUBIO_ERROR("source_apple_audio: Can not open %s with negative samplerate %d\n", 76 path, samplerate); 77 goto beach; 78 } 79 63 80 s->block_size = block_size; 64 81 s->samplerate = samplerate; 82 s->path = path; 65 83 66 84 if ( aubio_source_apple_audio_open ( s, path ) ) { … … 140 158 "error in ExtAudioFileSetProperty (%s)\n", s->path, 141 159 getPrintableOSStatusError(errorstr, err)); 142 #if 1160 #if 0 143 161 // print client and format descriptions 144 162 AUBIO_DBG("Opened %s\n", s->path);
Note: See TracChangeset
for help on using the changeset viewer.