• 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: Available Audio Formats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Available Audio Formats


  • Subject: Re: Available Audio Formats
  • From: Laurent Cerveau <email@hidden>
  • Date: Mon, 8 Oct 2001 23:16:30 +0200

On Monday, October 8, 2001, at 11:03 PM, Sean Morrell wrote:

Does CoreAudio and
IOAudioFamily have a mechanism to support such dependencies? As an
alternate approach, could a device driver provide a custom configuration
dialog, opened by a host application through CoreAudio?


This is definitely (at leat for me) a driver problem.

The driver is free to export what is suited for the device as formats. You need to make a driver
that returns only legal configs and the HAL APIs will export that without any problem. You may look
at the USB audio driver code in Darwin to see how to populate a list of formats. If your device is a USB
one, and ou want to reuse the Apple code for USB driver, you can subclass it.

Laurent


Laurent Cerveau
Applications Engineering
Apple Computer Inc.
email@hidden


  • Follow-Ups:
    • Re(2): Available Audio Formats
      • From: "Sean Morrell" <email@hidden>
References: 
 >Available Audio Formats (From: "Sean Morrell" <email@hidden>)

  • Prev by Date: Re: CoreMIDI (drivers)
  • Next by Date: Re: CoreMIDI (drivers)
  • Previous by thread: Available Audio Formats
  • Next by thread: Re(2): Available Audio Formats
  • Index(es):
    • Date
    • Thread