- Timestamp:
- Jul 21, 2014, 3:55:06 AM (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:
- 7c8d32a
- Parents:
- 58c408d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_apple_audio.c
r58c408d r961cff13 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.