Question on ExtAudioFileRead and AudioBuffer for iPhone SDK
Question on ExtAudioFileRead and AudioBuffer for iPhone SDK
- Subject: Question on ExtAudioFileRead and AudioBuffer for iPhone SDK
- From: Calvin Xia <email@hidden>
- Date: Wed, 16 Jun 2010 04:11:28 +0800
I'm new to iPhone development and am developing an iPhone app that uses the Extended Audio File Services. I try to use ExtAudioFileRead to read the audio file, and store the data in an AudioBufferList structure.
AudioBufferList is defined as:
struct AudioBufferList {
UInt32 mNumberBuffers;
AudioBuffer mBuffers[1];
};
typedef struct AudioBufferList AudioBufferList;
and AudioBuffer is defined as
struct AudioBuffer {
UInt32 mNumberChannels;
UInt32 mDataByteSize;
void* mData;
};
typedef struct AudioBuffer AudioBuffer;
I want to manipulate the mData but I wonder what does the void* mean. Why is it void*? How can I decide what data type is actually stored in mData? _______________________________________________
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