• 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
Memory allocation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory allocation?


  • Subject: Memory allocation?
  • From: "Mark's Studio" <email@hidden>
  • Date: Mon, 20 Oct 2003 12:00:54 +0200

Im not sure how to allocate memory for what i need.


float waveformSamples[32][512];

is this to big?


if i allocate the memory like this

waveformSamples = ( float* ) malloc (32 * 512 * sizeof ( float
) );

how do i declare waveformSamples,
so i can access it like waveformSamples[i][j]

Sorry if this is a bit basic / [OT].

Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Memory allocation?
      • From: Marc Poirier <email@hidden>
  • Prev by Date: RE: Cubase SX != AU
  • Next by Date: how to use HALOutput?
  • Previous by thread: Re: Cubase SX != AU
  • Next by thread: Re: Memory allocation?
  • Index(es):
    • Date
    • Thread