0

When I import SimpleAudioEngine.h:

#import "SimpleAudioEngine.h"

I get six errors. 3 of them are related to CVPixelBuffer.h and 3 are related to CMFormatDescription.h.

How can I fix this?

Guru
  • 21,652
  • 10
  • 63
  • 102
Oded Harth
  • 4,367
  • 9
  • 35
  • 62

1 Answers1

0

What version of cocs2d are you using? I would suggest you reinstall the codebase and then see if you get the error. I use SimpleAudioEngine.h in a few games and have not seen an error simply by including the .h file.

Also check if you have the AudioToolbox.framework

Nungster
  • 726
  • 8
  • 28