• 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
Attempting to set kAudioUnitProperty_StreamFormat -> kAudioUnitScope_Input returning kAudioUnitErr_FormatNotSupported
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attempting to set kAudioUnitProperty_StreamFormat -> kAudioUnitScope_Input returning kAudioUnitErr_FormatNotSupported


  • Subject: Attempting to set kAudioUnitProperty_StreamFormat -> kAudioUnitScope_Input returning kAudioUnitErr_FormatNotSupported
  • From: Peter MacWhinnie <email@hidden>
  • Date: Mon, 25 Aug 2008 18:14:44 -0400

I am attempting to chain AudioUnit effects within an AUGraph and no matter what AudioUnit I have attempted to test with, when I call AudioUnitSetProperty for kAudioUnitProperty_StreamFormat in scope kAudioUnitScope_Input I am given a kAudioUnitErr_FormatNotSupported error.

I could be completely missing something, but, my format seems within normal parameters and it works just fine with the kAudioUnitSubType_HALOutput AudioUnit that is the head of the AUGraph.

The AudioStreamBasicDescription typically looks like this:
{
mFormatFlags = (kAudioFormatFlagIsFloat | kAudioFormatFlagIsPacked | kAudioFormatFlagsNativeEndian),
mFormatID = kAudioFormatLinearPCM,


	mSampleRate = 44100.000000,
	mBytesPerPacket = 8,
	mFramesPerPacket = 1,
	mBytesPerFrame = 8,
	mBitsPerChannel = 32,
	mChannelsPerFrame = 2
}

I could be (and feel like I am) missing something fairly basic, but I've been trying to figure this out for quite a while now with no luck.

Sincerely,

Peter MacWhinnie
http://petermacwhinnie.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


  • Follow-Ups:
    • Re: Attempting to set kAudioUnitProperty_StreamFormat -> kAudioUnitScope_Input returning kAudioUnitErr_FormatNotSupported
      • From: William Stewart <email@hidden>
  • Prev by Date: Strange silience after connecting to AUGraphicEQ
  • Next by Date: Re: how to fill audio queues with data from a TCP stream, not a file
  • Previous by thread: Re: Strange silience after connecting to AUGraphicEQ
  • Next by thread: Re: Attempting to set kAudioUnitProperty_StreamFormat -> kAudioUnitScope_Input returning kAudioUnitErr_FormatNotSupported
  • Index(es):
    • Date
    • Thread