- Timestamp:
- Apr 8, 2013, 5:27:35 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:
- ea912cc
- Parents:
- 6510866
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink_apple_audio.c
r6510866 r8a7b344 40 40 #define MAX_SIZE 4096 // the maximum number of frames that can be written at a time 41 41 42 struct _aubio_sink_apple_audio_t { 42 struct _aubio_sink_apple_audio_t { 43 43 uint_t samplerate; 44 44 uint_t channels; … … 96 96 bool async = true; 97 97 short *data = (short*)s->bufferList.mBuffers[0].mData; 98 if (write > s->max_frames) { 98 if (write > s->max_frames) { 99 AUBIO_WRN("sink_apple_audio: trying to write %d frames, max %d\n", write, s->max_frames); 99 100 write = s->max_frames; 100 AUBIO_WRN("trying to write %d frames, but only %d can be written at a time",101 write, s->max_frames);102 101 } 103 102 smpl_t *buf = write_data->data;
Note: See TracChangeset
for help on using the changeset viewer.