• 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: CoreAudio playback issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreAudio playback issue


  • Subject: Re: CoreAudio playback issue
  • From: "Development@groove4u" <email@hidden>
  • Date: Tue, 9 Nov 2010 10:16:38 +0100

Yes, my sounds are overlapping. Again, i echo the other answers. I use straight C code, as, i had the same problem as you had. A few objective C method calls, and it was already too much for the system. I use 2 property accessors (as they are not using the lookup system, as far as i know) and that does not hurt the performance. 

Frank
On 08.11.2010, at 20:33, Pascal wrote:

Hi, 

thanks for you replies.

I am careful not to alloc memory, call UI functions, or NSLog during the callbacks for reading the buffers. The Mixer buffers are filled with datas that are preloaded in a "Soundfile" class. This call has a Queue system that allow multiple overlapping instances of the (same) sound to played - for example 2 hits of the same Kick sound (that is rather long) where the 2nd kick does not stop the 1st one.

Here is a more complete code:

http://pastie.org/1282268

@Frank : when you say you were able of running 9 busses on a 1st gen iPhone, were the sounds overlapping ? 

Thanks.

Pascal

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
References: 
 >Fwd: CoreAudio playback issue (From: Pascal <email@hidden>)

  • Prev by Date: Re: Issue with Logic 64bits bridge and cocoa UI
  • Next by Date: Re: How to find loop length of MP3
  • Previous by thread: Re: CoreAudio playback issue
  • Next by thread: Re: CoreAudio playback issue
  • Index(es):
    • Date
    • Thread