This diff contains 3 changes: - Moved code for setting audiocategory PlayAndRecord from ca_factory_init to create_audio_unit There is no use for setting the AudioCategory in ca_factory_init. If the app uses a different category when not in-call, this will only interfere with the app. However, the call will fail if we're not in PlayAndRecord when running create_audio_unit, so there's no reason to not have it there. - Removed propListener This function actually does nothing! Away with it. - Set audiocategory in interruptionListener After interruption, some other app may have changed the audiocategory, so it should be reset to PlayAndRecord. Magnus Gal?en -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110314/2bf376ea/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: coreaudio_dev.c.diff Type: application/octet-stream Size: 5482 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110314/2bf376ea/attachment.diff> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110314/2bf376ea/attachment-0001.html>