• 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: NewbieQuestion: _IODevices!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NewbieQuestion: _IODevices!


  • Subject: Re: NewbieQuestion: _IODevices!
  • From: Brad Ford <email@hidden>
  • Date: Tue, 13 May 2003 10:23:20 -0700

I want to make a simple sine-wave generator and I started looking at
the CoreAudioExample found at Apples developer site.

Look at http://www.audiosynth.com/sinewavedemo.html
James McCartney has written a sample app (with downloadable sample code) that does exactly what you want.

<SNIP>

1. What is the audioDevice (are there any real life similarity like a
channel strip or bus or whatever)?

Think of an AudioDevice as a hardware box. A MOTU 896 is 1 AudioDevice. An EMI 6/2 is 1 AudioDevice. Apple Built-In hardware is 1 AudioDevice.


2. What is the difference between the default input device and the
default output device? The output device seems to handle input buffers
and vice verse (not tried the later though).

The default input or output device can be set up graphically in the Audio/Midi Setup application (/Applications/Utilities), or by you, in code. DefaultOutputDevice is the place audio is going to play out by default. Think iTunes, QuickTime Player, etc. Whatever you have your outputaudiodevice set to, iTunes/QuickTime Player will play out to. Same deal for input. The default input device is whatever was last set as the preferred device for recording (by default it's the Apple built-in hardware). The default output and input devices can be the same device.

3. Assume I have the MOTU 896 as well as the built-in sound card on my
iMac DV. Is it the built in sound card that is to be considered as the
default device (given my definition of a device being the sound card in
use) or is it the one chosen from the system preferences?

Look at Audio Midi Setup.app, all will become clear.

-Brad Ford
QuickTime Engineering
_______________________________________________
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: NewbieQuestion: _IODevices!
      • From: Luke Bellandi <email@hidden>
References: 
 >NewbieQuestion: _IODevices! (From: email@hidden)

  • Prev by Date: MIDI for my PCI device on OS X
  • Next by Date: Re: Slider values on an Input Volume(Gain) Control
  • Previous by thread: NewbieQuestion: _IODevices!
  • Next by thread: Re: NewbieQuestion: _IODevices!
  • Index(es):
    • Date
    • Thread