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

Re: Audio Sources?


  • Subject: Re: Audio Sources?
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 01 Nov 2001 12:10:47 -0800

on 11/1/01 7:06 AM, email@hidden <email@hidden> wrote:

> Does anyone know how an audio device would deal with mutiple audio sources.
> When I initialize the audio devices I get one for input and one for output.
> However I do no see mutplie sources such as microphone, line in etc... I
> assume
> that the built in device only has one source. How do I get the information
> about the source ie: is it digital or analog etc...

kAudioDevicePropertyDataSource = 'ssrc',
// a UInt32 which is the ID of the data source for the given channel

kAudioDevicePropertyDataSources = 'ssc#',
// an array of the available UInt32 data source IDs for the given channel

kAudioDevicePropertyDataSourceNameForID = 'sscn',
// Retrieves the name of a data source for a given data source ID
// using an AudioValueTranslation structure. The input data is the
// UInt32 holding the data source ID and the output data is a buffer to
// hold the name as a null terminated string.

kAudioDevicePropertyDataSourceNameForIDCFString = 'lscn',
// Retrieves the name of a data source for a given data source ID
// using an AudioValueTranslation structure. The input data is the
// UInt32 holding the data source ID and the output data is a
// CFStringRef.
// The CFStringRef retrieved via this property must be released
// by the caller.

--

Jeff Moore
Core Audio
Apple


References: 
 >Audio Sources? (From: email@hidden)

  • Prev by Date: Audio Sources?
  • Next by Date: Re: Audio Sources?
  • Previous by thread: Audio Sources?
  • Next by thread: Re: Audio Sources?
  • Index(es):
    • Date
    • Thread