• 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
Implementing IOAudioDevice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implementing IOAudioDevice


  • Subject: Implementing IOAudioDevice
  • From: Dirk Musfeldt <email@hidden>
  • Date: Tue, 17 Sep 2002 08:16:12 +0200

Hi all,

I'm doing an IOAudioDevice driver and have trouble to get the driver freed
when I call kextunload because there is always one instance of my
IOAudioEngine subclass.

I create my IOAudioEngine from the IOAudioDevice::initHardware() function
but don't release it immediately since I call some functions from the
IOAudioDevice subclass.

I try to release the IOAudioEngine from IOAudioDevice::stop() but the
reference is retained somewhere in the system software so that the
retainCount() is still 3 at this point.

I don't call audioEngine->retain() anywhere in the code.

Any ideas anybody?



With kind regards

Dirk Musfeldt
Meilenstein Mac OS Software

Neue Strasse 5
D-31582 Nienburg
Germany
Tel: +49 (0) 5021 91 24 44
Fax: +49 (0) 5021 91 24 45
<http://www.meilenstein.de/>
_______________________________________________
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: Implementing IOAudioDevice
      • From: Mark Cookson <email@hidden>
  • Prev by Date: RE:Diagnostic messages in whose midi driver?
  • Next by Date: Re: overloads in ioproc : why?
  • Previous by thread: Re: AU2 - saying "no" to interleaved streams
  • Next by thread: Re: Implementing IOAudioDevice
  • Index(es):
    • Date
    • Thread