AudioToolbox.framework
2. include header file
#import
3. Create and play sound
// create & play
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((CFURLRef)url, &soundID);
AudioServicesPlaySystemSound(soundID);
4. Release resource
// release
AudioServicesDisposeSystemSoundID(soundID);
댓글 없음:
댓글 쓰기