Re: Changing Default Device and Sample Rate via Objective C
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