ios - Question on ExtAudioFileRead and AudioBuffer for iPhone SDK -


I'm developing an iPhone app that uses the extended audio file service to read the audio file, and the audio bufferlist I try to use ExtAudioFileRead to store data in the structure.

AudioBufferList is defined as:

  struct audiobufflist {UInt32 mNumberBuffers; Audiobuffer buffer [1]; }; Typing form audio booster list audio buffer list;  

and AUDIO buffer are defined

  string audio buffer {UInt32 mNumberChannels; UInt32 mDataByteSize; Zero * MDAta; }; Typingfund audio booster audio buffer;  

I want to manipulate mData but I wonder what zero * mean? Why is this zero? How can I decide how the data type is actually in MDTA?

The MDATA field is marked as zero because of the different storage requirements Required.

Basically a zero indicator can indicate anything in C.

so you can

  mData = (ms = 32) * s (numerile);  

And then when you want to use it, put it in the desired data type.

  Sint32 * myBuffer = (SInt32 *) mData;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -