• 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: Richard Dobson <email@hidden>
  • Date: Mon, 01 Oct 2012 10:46:27 +0100

On 01/10/2012 10:10, "René J.V. Bertin" wrote:
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é

..



This issue crops up fairly regularly. The problem with any application changing the device sample rate is that other applications may also (concurrently) be trying to do so as well, an easy and obvious possibility of contention. Ostensibly, this task should be left expressly to the user to do, globally, externally, through whatever control panel is available. These days, it is arguably inappropriate for any developer to assume or expect that their application is the only one running.

Richard Dobson
_______________________________________________
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>
References: 
 >Re: Changing Default Device and Sample Rate via Objective C (From: "René J.V. Bertin" <email@hidden>)

  • Prev by Date: Re: Changing Default Device and Sample Rate via Objective C
  • Next by Date: AU Low Pass Filter in iOS 6
  • Previous by thread: 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