• 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: Is there limit of the parameter of setNumSampleFramesPerBuffer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Is there limit of the parameter of setNumSampleFramesPerBuffer?


  • Subject: RE: Is there limit of the parameter of setNumSampleFramesPerBuffer?
  • From: "David Tan" <email@hidden>
  • Date: Fri, 5 Dec 2008 14:39:27 +0800

Hi All,

 

I just tried to input a very big value to SetNumSampleFramesPerBuffer(), but it seems that this method will do range check itself.

While debugging the clipOutputSamples() and checking the parameter firstSampleFrame of it, I think the maximum of sample frames per buffer is 16384 (0x4000).

 

Is that expected behavior? Thanks!

 

Best Regards,

David Tan,

Software Engineer,

Dextrys Co., Ltd.


From: coreaudio-api-bounces+david.tan=email@hidden [mailto:coreaudio-api-bounces+david.tan=email@hidden] On Behalf Of David Tan
Sent: Friday, December 05, 2008 12:54 PM
To: CoreAudio-API Mailing List
Subject: Is there limit of the parameter of setNumSampleFramesPerBuffer?

 

Hi Apple,

 

I know we can call setNumSampleFramesPerBuffer() anytime we want, except for wrapping it in a pair of beginConfigurationChange() and completeConfigurationChange().

But I want to know the maximum and potential minimum value of its parameter. For example, could I input such a big value as 5M to it? Thanks a lot!

 

Best Regards,

David Tan,

Software Engineer,

Dextrys Co., Ltd.

 

 _______________________________________________
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: Is there limit of the parameter of setNumSampleFramesPerBuffer?
      • From: Jeff Moore <email@hidden>
References: 
 >Is there limit of the parameter of setNumSampleFramesPerBuffer? (From: "David Tan" <email@hidden>)

  • Prev by Date: Is there limit of the parameter of setNumSampleFramesPerBuffer?
  • Next by Date: Re: Is there limit of the parameter of setNumSampleFramesPerBuffer?
  • Previous by thread: Is there limit of the parameter of setNumSampleFramesPerBuffer?
  • Next by thread: Re: Is there limit of the parameter of setNumSampleFramesPerBuffer?
  • Index(es):
    • Date
    • Thread