• 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
Re: PhantomAudioDriver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PhantomAudioDriver


  • Subject: Re: PhantomAudioDriver
  • From: Laurent Cerveau <email@hidden>
  • Date: Wed, 1 May 2002 16:57:37 +0200

Jaeho,

The Phantom audio driver is more oriented towards showing how an audio driver need to use the IOAudio Family objects (like IOAudioDevice, all IOAudioCOntrols and so on...) and how these pieces go together. It simulates hardware interrupts using a timer (IOTimerEventSource).

In the case of a USB device, doing amatching on USB properties (I guess you did the matching on USB audio spec for that), you need to put all the code that will link to the USB part, like creating the packets for isochronous data transfert, send them on the USB bus, talk to the USB interfaces and so on.

I advise you take a look at the AppleUSBAudio driver in Darwin, and subclass your driver from it as it already is conformant to USB audio specifications.

Laurent

On Wednesday, May 1, 2002, at 01:39 PM, Jaeho Chang wrote:

I'm writing Mac OS X driver for our USB audio inteface.

As the starting point, I modified the bundle settings of
PhatomAudioDriver example, and put codes into clip... and convert...
methods.

When plugging the device, the driver is properly matched and loaded.
But sending some sounds to the driver, there's no sound out.

So I'm wondering, if PhantomAudioDriver example is a completed working
framework, or if I need to do something other than driver matching and sample
clipping.

I already tried to find out any bug in my code for several days,
and now I want to check if PhantomAudioDriver is enough for a complete driver
for USB audio device.

Thanks,
Jaeho.
LC
_______________________________________________
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: PhantomAudioDriver
      • From: Laurent Cerveau <email@hidden>
References: 
 >PhantomAudioDriver (From: Jaeho Chang <email@hidden>)

  • Prev by Date: PhantomAudioDriver
  • Next by Date: Re: QTMA MIDIServices Device?
  • Previous by thread: PhantomAudioDriver
  • Next by thread: Re: PhantomAudioDriver
  • Index(es):
    • Date
    • Thread