[MPlayer-dev-eng] [PATCH] Coreaudio patches (audio device selection and deprecated functions)
Adrian Stutz
adrian at sttz.ch
Sun Apr 18 23:58:26 CEST 2010
On Sun, Apr 18, 2010 at 14:36, Diego Biurrun <diego at biurrun.de> wrote:
> Do you want to maintain this ao driver? You already maintain the rest
> of the OS X stuff...
I'll fix the issues you brought up sometime this week.
I can maintain the coreaudio driver but I honestly don't know that
much about it. I'll be sticking around here at least...
And I just noticed that this doesn't really fix the issue if you use
it with vo_corevideo's shared_buffer. The audio device change is only
picked up after a seek.
This got me on the idea that it's actually needing a run loop.
vo_corevideo processes the run loop if it's showing a window but not
if it's used with shared_buffer.
The solution is to process the run loop in the play function of
ao_coreaudio. This fixes the issues with using shared_buffer as well.
This could also fix the issue with SPDIF output many MPE users have
been reporting. I will release a MPE beta to test that asap.
Greetings,
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_6_process_runloop.diff
Type: application/octet-stream
Size: 692 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100418/d747998b/attachment.obj>
More information about the MPlayer-dev-eng
mailing list