• 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: Strange silience after connecting to AUGraphicEQ
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange silience after connecting to AUGraphicEQ


  • Subject: Re: Strange silience after connecting to AUGraphicEQ
  • From: "Lukhnos D. Liu" <email@hidden>
  • Date: Wed, 27 Aug 2008 09:41:09 +0800

On Aug 27, 2008, at 7:53 AM, William Stewart wrote:
You can't provide integer to most audio units on the desktop - you have to provide float32 - so your "IsSigneInteger" flag is wrong.
In CoreAudioTypes.h there are also some definitions for the linear PCM flags for native, canonical formats, so have a look through these... You can also get the format first from an audio unit and have a look at what its default is and use that as a starting point

Thanks for the advice. I tried the flag kAudioFormatFlagsCanonical, but the EQ unit still yielded kAudioConverterErr_InvalidInputSize render error.


I then called AudioUnitGetProperty to get the the kAudioUnitProperty_StreamFormat from the EQ unit, then I'm even more puzzled... the reading was this:

	sample rate: 44100.000000,
	format: lpcm,
	flags: 0x00000029 (kAudioFormatFlagsCanonical on Intel)
	bytes/packet: 4,
	frames/packet: 1,
	bytes/frame: 4,
	channels/frame: 2,
	bits/channel: 32,
	reserved: 0x00000000

The number didn't seem to add up (shouldn't bits/channel be 16 in this case)? I must have wrong understanding of how EQ unit works or what it expects as input, but I don't know what goes wrong...

Thanks again!

d.



_______________________________________________
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: Strange silience after connecting to AUGraphicEQ
      • From: William Stewart <email@hidden>
References: 
 >Strange silience after connecting to AUGraphicEQ (From: "Lukhnos D. Liu" <email@hidden>)
 >Re: Strange silience after connecting to AUGraphicEQ (From: Lukhnos D.Liu <email@hidden>)
 >Re: Strange silience after connecting to AUGraphicEQ (From: William Stewart <email@hidden>)

  • Prev by Date: Number of bytes buffered.
  • Next by Date: Re: Strange silience after connecting to AUGraphicEQ
  • Previous by thread: Re: Strange silience after connecting to AUGraphicEQ
  • Next by thread: Re: Strange silience after connecting to AUGraphicEQ
  • Index(es):
    • Date
    • Thread