• 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
PBControlAsync() in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PBControlAsync() in OS X


  • Subject: PBControlAsync() in OS X
  • From: "Roni Music" <email@hidden>
  • Date: Tue, 23 Oct 2001 14:29:43 +0200

Hi,


As you may know, device driver calls such as PBControlAsync() is not suported
in OS X.

I have used it to read data from Audio CD's under OS8/9 and need to replace
this for OS X.

The Apple doc "Accessing Hardware From Applications" descibes how to do this
with the help of the IOKit and a POSIX read function.

This is however a synchronous read and does not work at interrupt level.

There seems to be a asynchronous POSIX function called aio_read that is not
available in OS X.

Does anybody have any insight how to replace the PBControlAsync call under OS
X.

The IOCDMedia class would be suitable but may only be used inside the KERNEL,
if
got it right?


Any help appreciated

Thanks
Rolf

--
Rolf Nilsson <email@hidden>
Roni Music <email@hidden>
Smafolksgatan 51, S-212 38 Malmoe, Sweden
Phone: int + 46 - 40494411

http://www.ronimusic.com


  • Follow-Ups:
    • Re: PBControlAsync() in OS X
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: DefaultOutputDevice timestamps
  • Next by Date: Re: PBControlAsync() in OS X
  • Previous by thread: Re: coreaudio-api digest, Vol 1 #109 - 1 msg
  • Next by thread: Re: PBControlAsync() in OS X
  • Index(es):
    • Date
    • Thread