• 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: Set buffer size > 1024
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set buffer size > 1024


  • Subject: Re: Set buffer size > 1024
  • From: Nuno Fonseca <email@hidden>
  • Date: Tue, 04 Sep 2012 15:01:31 +0100
  • Acceptlanguage: en-US
  • Thread-topic: Set buffer size > 1024

Probably this is not the answer that you are looking, but… can't you use a 1024 sample buffer callback, store them on a 8192 temp buffer, and process the full 8192 samples on every 8th callback?
And if you are also outputting things, you simply do the opposite: store the values on a temp 8192 temp buffer, and get 1024 samples in each callback.

Just a thought…
Nuno Fonseca

On Sep 4, 2012, at 1:36 PM, Pedro Torres Assunção wrote:

Hi everyone,

I am struggling with a small part of my application. I need to get at least 8192 audio samples.

I came across several code samples and the one that we got better results is present on these .h (http://bit.ly/OUfDVf ) and .m (http://bit.ly/Q2qlqJ) files, links at the end. In the .m file there are 4 comments indicated with PTA an those are the only comments made by me. If we set our function to work with only 1024 samples it works which proves that we are correctly getting the 1024 samples but that is just too short for our needs.

Our currently test requires at least 8192 samples but we just can't figure out how.

Is there any one who can help us? 

Files:
audioProcessor.m -> http://bit.ly/Q2qlqJ
audioProcessor.h  -> http://bit.ly/OUfDVf 
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: Set buffer size > 1024
      • From: Brian Willoughby <email@hidden>
References: 
 >Set buffer size > 1024 (From: Pedro Torres Assunção <email@hidden>)

  • Prev by Date: Set buffer size > 1024
  • Next by Date: Re: Set buffer size > 1024
  • Previous by thread: Set buffer size > 1024
  • Next by thread: Re: Set buffer size > 1024
  • Index(es):
    • Date
    • Thread