iphone - AVAudioPlayer Output to Speaker -


After searching for how to send the AVAudioPlayer output to the iPhone speaker, Found:

Despite setting the range to AVAudioSessionCategoryPlayAndRecord , this solution is not working for me and even The build is not giving the console to this error:

  "_OsourceSessionSetProperty", referenced from: ... ... ld: Icon (s) not found collect2: ld 1 exit Status of  

I am not involved in anything? I am importing AudioToolbox , AVFoundation , and CoreAudio

Importing my class tool AVAudioSessionDelegate , AVAudioRecorderDelegate , AVAudioPlayerDelegate , and UITextFieldDelegate .

Any help would be greatly appreciated!

Add AudioToolbox and AVFoundation frameworks to your project by right-clicking on the framework -> Add -> Existing Framework


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -