I have a CoreAudio based player that streams remote mp3s.
It uses NSURLConnection
to retrieve the mp3 data -> uses AudioConverter
to convert the stream into PCM -> and feeds the stream into an AUGraph
to play audio.
The player works completely fine in my demo app(it only contains a play button), but when i add the player to another project, but when coupled with a project that already makes networking calls, and updates UI, the player fails to play audio past a few seconds.
Am possibly experiencing a threading issue? What are some preventative approaches that i can take or look into that can prevent this from happening?