[MPlayer-dev-eng] [PATCH] Coreaudio patches (audio device selection and deprecated functions)

Adrian Stutz adrian at sttz.ch
Tue Apr 20 22:38:36 CEST 2010


2010/4/19 Benoît Amiaux <benoit.amiaux at gmail.com>:
> Unfortunately, it doesn't work on today svn.
> Error message is:
> AO: [coreaudio] AudioDeviceAddIOProc failed: [    ]

Oh, my bad. Please try with the attached patches.

On Sun, Apr 18, 2010 at 14:36, Diego Biurrun <diego at biurrun.de> wrote:
> Please break overly long lines and use K&R function
> declarations ('{' on the next line).

Ok now? I just fixed the lines I touched in the patches.

On Mon, Apr 19, 2010 at 01:29, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> Uh, to avoid this kid of hackish variable initialization the do-loop exists...

Right. It was getting late and I wanted to quickly post this up... fixed.

On Mon, Apr 19, 2010 at 14:34, Diego Biurrun <diego at biurrun.de> wrote:
> Not directly related to this patch, but, is it possible to just use
> standard POSIX int types, i.e. int32_t?

Uh, I don't know what's the best way to handle it. They way I went
with was to stick to whatever type the API is using.
If you prefer the POSIX types, I can change them.

Greetings,
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_1_UInt32_printf.diff
Type: application/octet-stream
Size: 1064 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_2_replace_deprecated_functions_v2.diff
Type: application/octet-stream
Size: 30539 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_3_int_to_UInt32_v2.diff
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_4_device_id_option_v2.diff
Type: application/octet-stream
Size: 5027 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_4.5_device_id_option_man.diff
Type: application/octet-stream
Size: 398 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_5_fix_cosmetics_v2.diff
Type: application/octet-stream
Size: 2167 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreaudio_6_process_runloop_v2.diff
Type: application/octet-stream
Size: 658 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100420/31324ec8/attachment-0006.obj>


More information about the MPlayer-dev-eng mailing list