• 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: Different number of channels in IOProc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different number of channels in IOProc


  • Subject: Re: Different number of channels in IOProc
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 25 Apr 2002 15:31:54 -0700

on 4/25/02 7:37 AM, Jim Dolan <email@hidden> wrote:

> I have an audio device which shows up as a single device with 4 input and 2
> output channels.
> This case means that a single IOProc will handle input and output.
> Can I set the buffer size of the input side of the device differently from
> the output side of the device?

Not in terms of the number of sample frames in the buffer. That will always
be the same.

BTW, if you aren't, you should be using kAudioDevicePropertyBufferFrameSize
to set the buffer size rather than kAudioDevicePropertyBufferSize for just
this reason.

> This I assume would be the only way to fill the entire output buffer with 4
> channels of input ( assuming that I sum 3 to 1 and 4 to 2)?
> If I can't set the sizes differently what can I do? Choose 1&2 or 3&4

Hopefully, you're just confused a bit by the focus on byte sizes and that
getting/setting the buffer in frame sizes will clear up any confusion you
have.

--

Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Different number of channels in IOProc (From: Jim Dolan <email@hidden>)

  • Prev by Date: Different number of channels in IOProc
  • Next by Date: Re: Different number of channels in IOProc
  • Previous by thread: Different number of channels in IOProc
  • Next by thread: Re: Different number of channels in IOProc
  • Index(es):
    • Date
    • Thread