• 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
AudioDevice init problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioDevice init problem


  • Subject: AudioDevice init problem
  • From: Chuck Carlson <email@hidden>
  • Date: Mon, 5 Oct 2009 23:18:09 -0700

Hello,

I'm adding CoreAudio capability to a BSD shell tool using the
AudioDevice api (AudioDeviceStart(), AudioDeviceStop(), etc).

I can start, stop at will with no problems, but when I exit the tool
and start again, I get a EXC_BAD_ACCESS from an obgc_msgSend after the
first AudioDeviceSetProperty or AudioDeviceGetPropery.  I have to
reboot to run successfully again.

I've added AudioHardwareUnload before exiting with no success.

This is the same code ported from a Cocoa version, so it seems that
there is some initialization or cleanup problem that is not happening
in a BSD shell tool.

Any ideas?

Thanks

--Chuck
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AudioDevice init problem
      • From: Chuck Carlson <email@hidden>
  • Prev by Date: Re: Compensating for latency (how to determine rendering slice size)
  • Next by Date: Sidechain notification
  • Previous by thread: basComponentInsance, are my structures falling of the stack?
  • Next by thread: Re: AudioDevice init problem
  • Index(es):
    • Date
    • Thread