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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -