Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

audio Queue - No matching function for call to 'AudioSessionInitialize'

I have a problem. I want use some functionality which work with sound in my app.

I found example SpeakHere and include the main part functionality of this app in my app. But I have 3 errors:

No matching function for call to 'AudioSessionInitialize'

enter image description here

How can I fix this bugs?

I added to project frameworks: coreAudio, AudioToolbox
I use ARC.

like image 855
Vit Avatar asked Dec 04 '22 00:12

Vit


1 Answers

This is a bridging problem as per AudioServices.h not found in objective-C iOS project that includes AudioToolbox framework

Basically you need to use (__bridge void*)self in those 3 places.

like image 143
Ashley Avatar answered Dec 29 '22 09:12

Ashley