[vlc-devel] [PATCH 1/3] coreaudio: fix possible deadlock on pause

Carola Nitz nitz.carola at googlemail.com
Sat Dec 9 15:57:31 CET 2017

The issue we had is that the iOS system takes away the audio session when
you start a different music app. So we just get an interruption event on a
random thread notifying us that the system just closed the output for us.
I guess that’s the missing information here :)

On Sat 9. Dec 2017 at 15:48, Rémi Denis-Courmont <remi at remlab.net> wrote:

> Le lauantaina 9. joulukuuta 2017, 15.28.43 EET Thomas Guillem a écrit :
> > Here, ca_Pause is the pause callback for macOS and iOS audio outputs.
> > With the patch 2/2, this function can be called from a random thread
> > when the audio session is disabled (and when the audio render callback
> > is shut down) and will unstuck flush/play.
> And I don't see how that can work. The interface is not reentrant so its
> implementation can´t be reentrant either.
> --
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171209/97ea6e8c/attachment.html>

More information about the vlc-devel mailing list