Change audio output?

Discussion in 'Mac Programming' started by themacster298, Jun 4, 2012.

  1. macrumors member

    Joined:
    Feb 20, 2011
    #1
    How would I be able to add a option to change the audio output in Objective-C?

    Here is a snapshot from the recording program 'Audicity' with the feature I am trying to do:

    [​IMG]
     
  2. macrumors 603

    Joined:
    Aug 9, 2009
    #2
  3. macrumors 68040

    Joined:
    Feb 2, 2008
    #3
    In Core Audio you can get device id's with AudioObjectGetPropertyData and kAudioHardwarePropertyDevices to get a list of device id's.

    You can then enumerate that list and get additional information like, names etc.
     

Share This Page