OpenAL doesn't work when using AVAudioRecorder and AVAudioPlayer

Posted by Pawe on Stack Overflow See other posts from Stack Overflow or by Pawe
Published on 2010-05-22T18:35:42Z Indexed on 2010/05/22 18:40 UTC
Read the original article Hit count: 354

hi. i have been troubled about audio problem for several days. i don't think OpenAL get along with AVAudio functions.

i have my own OpenAL class. ( wrapped the MyOpenAL class ) my app start to record using AVAudioRecorder. i stop recording. and then i clicked the "OpenAL Play"button that play any sound using OpenAL. i can't hear it. but i can hear my recording when i clicked the "AVAudioPlayer Play" button using AVAudioPlayer.

i tested oalTouch,avTouch,SpeakHear sample code. they resulted same.

Does OpenAL have the problem using AVAudio~ Functions together?

I was googling for a long time. but i couln't find out the solutions and the same problems issue.

thanks for reading mine.

© Stack Overflow or respective owner

Related posts about avaudioplayer

Related posts about openal