Search:

Type: Posts; User: Inanna

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,953

    mData is already a pointer. The address operator...

    mData is already a pointer. The address operator makes it a double pointer, and that is wrong.


    Float32* frame = (Float32*)tempList.mBuffers[0].mData;

    NSLog(@"value: %f", *frame);
  2. Replies
    8
    Views
    2,953

    You have to cast the pointer to a usable pointer...

    You have to cast the pointer to a usable pointer type before it can be used. What does mData represent?
Results 1 to 2 of 2