Play no sound after Record in Device using SpeakHere, but ok in simulator
Hi guys,
My app is recording mic input as a wav file using AudioQueue code in SpeakHere, and play it after the record finished. The problem is that in simulator the sound file could be played successfully after record, but when running in device, when play the sound file after record, there is no sound, even I play another file not record file, and there is no error message when I debug. I must exit the app, and launch it again, then the last time's record file could be played with sound.
It seems the record process blocked the output of sound, but why in simulator it could work and no work in device?
Any suggestion is appreciated.
Thanks.
|