• 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: Changing Default Device and Sample Rate via Objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing Default Device and Sample Rate via Objective C


  • Subject: Re: Changing Default Device and Sample Rate via Objective C
  • From: "RenĂ© J.V. Bertin" <email@hidden>
  • Date: Mon, 01 Oct 2012 11:10:41 +0200

Hello,

You're not obliged at all to use ObjC as the API for what you're asking is C++ - at least concerning the sample rate changing. I've never felt the need to change the default output device, so I cannot comment on that.
Have a look at the DefaultOutputUnit example, it's what I used to write my sample rate plugin for iTunes.

René

On Oct 01, 2012, at 02:43, email@hidden wrote:

> First, I am very excited to have found this mailing list. It seems to be an incredible resource on a subject that it is difficult to find help for.
>
> I have a Mac app that needs to get a list of output devices and allow the operator to change the device. I also want to send a message to the device via my app to change it's sample rate. I have searched all over but finding an example of this has so far proved impossible.
>
> I assume Core Audio is the way to go but the only example I could find were the HAL classes in Apple's Public Utilities. Of course these are written in C++ and I am having a difficult time getting them to work. I am new to Objective C but it seems I may need to learn two new languages to make this work.
>
> Does anyone happen to have an Objective C example for doing the above. Even if C++ is the way to go, I would really appreciate any advice.
>
> Thanks in advance.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Changing Default Device and Sample Rate via Objective C
      • From: "email@hidden" <email@hidden>
    • Re: Changing Default Device and Sample Rate via Objective C
      • From: Richard Dobson <email@hidden>
  • Next by Date: Re: Changing Default Device and Sample Rate via Objective C
  • Next by thread: Re: Changing Default Device and Sample Rate via Objective C
  • Index(es):
    • Date
    • Thread