Patch: Fixed category change issues in coreaudio_dev.c (iPhone)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Magnus,

Thanks for the patch. I commit this in r3454.

Best regards,
Ming

On Mon, Mar 14, 2011 at 11:32 PM, Magnus Gal?en <mg at oyatel.com> wrote:
>
> 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
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux