• 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: *Interleaved* input with AUHAL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *Interleaved* input with AUHAL?


  • Subject: Re: *Interleaved* input with AUHAL?
  • From: "Mike Kluev" <email@hidden>
  • Date: Tue, 16 Dec 2008 12:45:46 +0300

On Tue, 16 Dec 2008 10:45:28 +0300
 "Mike Kluev" <email@hidden> wrote:
On Mon, 15 Dec 2008 11:45:09 -0800
 William Stewart <email@hidden> wrote:
On Dec 15, 2008, at 9:26 AM, Mike Kluev wrote:

I can set AUHAL to consume stereo+float+interleaved format for output. But not for
input. Looks like input insists on being non-interleaved. Is it correct behavior or am
I doing something wrong?

which bus, element are you trying to set these formats?

The "app" side scope of microphone bus (element 1, output scope).
The AudioUnitSetProperty succeeds (and AudioUnitGetProperty
confirms the change), but the subsequent AudioUnitRender calls
fail with paramErr, and so far I wasn't able to figure out what's wrong.
If I set non-interleaved format - everything works ok.

I fixed this by putting 1 into mNumberBuffers of the structure passed to AudioUnitRender. Prior to that there was 2 and it didn't work with interleaved samples.

Mike

_______________________________________________
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: *Interleaved* input with AUHAL?
      • From: William Stewart <email@hidden>
References: 
 >Non-interleaved input with AUHAL? (From: "Mike Kluev" <email@hidden>)
 >Re: Non-interleaved input with AUHAL? (From: William Stewart <email@hidden>)
 >*Interleaved* input with AUHAL? [Was: Non-interleaved input with AUHAL?] (From: "Mike Kluev" <email@hidden>)

  • Prev by Date: *Interleaved* input with AUHAL? [Was: Non-interleaved input with AUHAL?]
  • Next by Date: Speeding HAL plugin loop rate
  • Previous by thread: *Interleaved* input with AUHAL? [Was: Non-interleaved input with AUHAL?]
  • Next by thread: Re: *Interleaved* input with AUHAL?
  • Index(es):
    • Date
    • Thread