• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MTCoreAudioDevice: ioProc called a limited number of times and then halts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 withClientData: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.


  • Follow-Ups:
    • Re: MTCoreAudioDevice: ioProc called a limited number of times and then halts
      • From: Michael Thornburgh <email@hidden>
  • Prev by Date: Re: render callback timing
  • Next by Date: Re: render callback timing
  • Previous by thread: Re: CarbonPane resizing & hosts
  • Next by thread: Re: MTCoreAudioDevice: ioProc called a limited number of times and then halts
  • Index(es):
    • Date
    • Thread