MTCoreAudioDevice: ioProc called a limited number of times and then halts
MTCoreAudioDevice: ioProc called a limited number of times and then halts
- Subject: MTCoreAudioDevice: ioProc called a limited number of times and then halts
- From: Zachary Drew <email@hidden>
- Date: Fri, 5 Mar 2004 14:21:42 -0600 (CST)
I wrote some code that captures audio from the line-in. I originally wrote
it directly with HAL and I've been converting it to use the MTCoreAudio
wrapper version 1.2.0. When I converted it to use
setIOProc:withClientData and deviceStart, my ioProc only gets called a few
times (20 times or so) and then it stops. When I change it back to
straight HAL my ioProc exhibits the expected behavior.
Here is what I use:
[currentDevice setIOProc:ioProc withClient
Data:self];
[currentDevice deviceStart];
I then use a NSLog call within my ioProc to see when it's called.
Has anyone seen something like this before?
Thanks,
-Zach
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.