• 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: Tue, 02 Oct 2012 12:23:35 +0200

For changing only the sample rate of a hardware output device, use AudioDeviceSetProperty with kAudioDevicePropertyNominalSampleRate . I think that API was maybe not even used in the example I pointed you to, I remember that my first attempts to change the output rate were met with permissions errors. Sorry about that, I should have pointed you to CAPlayThrough.

R.

On Oct 01, 2012, at 16:44, email@hidden wrote:

>> 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é
>
> DefaultOutputUnit appears to be deprecated:


 _______________________________________________
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>)
 >Re: Changing Default Device and Sample Rate via Objective C (From: "email@hidden" <email@hidden>)

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