Changes in src/io/source_apple_audio.c [1223979:01e158d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_apple_audio.c
r1223979 r01e158d 90 90 if (err) { AUBIO_ERROR("error in ExtAudioFileGetProperty, %d\n", (int)err); goto beach;} 91 91 92 if (s->samplerate == 1) { 93 clientFormat.mSampleRate = fileFormat.mSampleRate; 94 s->samplerate = fileFormat.mSampleRate; 95 } 96 92 97 // set the client format description 93 98 err = ExtAudioFileSetProperty(s->audioFile, kExtAudioFileProperty_ClientDataFormat, … … 176 181 } 177 182 183 uint_t aubio_source_apple_audio_get_samplerate(aubio_source_apple_audio_t * s) { 184 return s->samplerate; 185 } 186 178 187 #endif /* __APPLE__ */
Note: See TracChangeset
for help on using the changeset viewer.