Memory allocation?
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.