• 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
auval Bus Error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auval Bus Error?


  • Subject: auval Bus Error?
  • From: "Kevin Dixon" <email@hidden>
  • Date: Mon, 29 Oct 2007 22:58:18 -0400 (EDT)
  • Importance: Normal

I have a set of buffers (e.g. Float32 ** tempBuffers)
Depending on what the user has selected, not all of the buffers are filled
at once.

I want to zero the samples in a buffer when it is not being used (since
I'm mixing all of these buffers together for the output).

So I do this in a loop:

tempBuffers[curBuffer][curSample] = 0;

However when this loop is in place, auval gives the following output:

Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 44100 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
(waits for a second)
Bus error

When I comment the loop out, it compiles, but then of course I get a bunch
of noise in the MixDown from random valued samples.

Any ideas?

-Kevin Dixon
 _______________________________________________
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: 
 >ExtAudioFileWrapAudioFileID crashing in Leopard (From: "Stephen F. Booth" <email@hidden>)
 >Re: ExtAudioFileWrapAudioFileID crashing in Leopard (From: William Stewart <email@hidden>)
 >Re: ExtAudioFileWrapAudioFileID crashing in Leopard (From: "Stephen F. Booth" <email@hidden>)
 >AU instrument doesn't show up in Garageband (From: Eric Gorouben <email@hidden>)

  • Prev by Date: AU instrument doesn't show up in Garageband
  • Next by Date: leopard changes to core audio and openal?
  • Previous by thread: AU instrument doesn't show up in Garageband
  • Next by thread: Firewire audio testing
  • Index(es):
    • Date
    • Thread