• 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: MusicDeviceBase mSampleRate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicDeviceBase mSampleRate


  • Subject: Re: MusicDeviceBase mSampleRate
  • From: William Stewart <email@hidden>
  • Date: Tue, 3 Oct 2006 14:51:34 -0700

You are probably getting back an error and not looking for it because most MusicDevice AUs do not have inputs. You should be setting this property on kAudioUnitScope_Output

Bill

On 03/10/2006, at 2:09 AM, Craig Bakalian wrote:

Hi,
I have noticed that the all (the ones I have observered in debug) of the MusicDeviceBase AUs get a sample rate of zero when I get the following property --
AudioUnitGetProperty(synthUnit,
kAudioUnitProperty_StreamFormat,
kAudioUnitScope_Input,
0,
&synthStreamDescription,
&streamsize);


How does this effect a chain of AUs, especially if I am chaining a format converter between the synthUnit and a AU mixer by getting the streamFormat of the synth and mixer, and setting the input of the format converter to the stream format of the synth and setting the output of the format converter to the mixer unit? Will this explicitly set the format converter's input to a sample rate of zero?


Craig Bakalian www.ethinkingcap.com




_______________________________________________ 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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >MusicDeviceBase mSampleRate (From: Craig Bakalian <email@hidden>)

  • Prev by Date: MusicDeviceBase mSampleRate
  • Next by Date: AC-3 encoding?
  • Previous by thread: MusicDeviceBase mSampleRate
  • Next by thread: AC-3 encoding?
  • Index(es):
    • Date
    • Thread