• 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
Underflow causes permanent silence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Underflow causes permanent silence


  • Subject: Underflow causes permanent silence
  • From: "Timothy J. Wood" <email@hidden>
  • Date: Fri, 30 Aug 2002 10:56:54 -0700

I'm working on a ObjC wrapper around audio units for our game ports. One of the obvious features is a stream that has a QuickTime decoder attached to one end and I/O proc attached to the other end. This all works fine (with the QT decoding happening in one thread and the I/O proc happening in the HAL thread).

Now, the problem is that if I'm in the debugger, and hit ctrl-c to stop my program for some reason, or worse, when loading the QT decompression components the debugger hangs while reading symbols, this causes CoreAudio to get grumpy with me somehow and I only get silence from then on even though my decoding and I/O proc seem to be working just fine.

In fact, often iTunes will quit playing sound at this point until I kill my application. If I run my app directly w/o the debugger involve, it seems to work much better, but I strongly suspect that if my app chugs for some reason, that I'll hit the same problem.

Is there something that I could be doing wrong to cause this? My setup is as follows:

default output has a stereo mixer as its sole input
the stereo mixer has a I/O proc on its first element configured for 44.1kHz mono
10.2

Seems pretty basic, really.

-tim
_______________________________________________
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: Underflow causes permanent silence
      • From: Jeff Moore <email@hidden>
    • Re: Underflow causes permanent silence
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: Resampling input from a sound input device using an AudioUnit
  • Next by Date: Re: Playing lots of tiny sounds with different formats?
  • Previous by thread: Re: Resampling input from a sound input device using an AudioUnit
  • Next by thread: Re: Underflow causes permanent silence
  • Index(es):
    • Date
    • Thread