[MPlayer-dev-eng] libao2/coreaudio.c

Ronny Falk mailronny at gmail.com
Wed Aug 25 05:42:36 CEST 2010


in r31713
the version was committed with: Replace deprecated functions in ao_coreaudio with their new ones introduced in OSX 10.4.
This is actually not true; OSX 10.5 introduced the APIs that are being used.

I'd like to know, if I can help making it legacy 10.4 compatible by using the good old #ifdef ?

cheers
Ronny

On 2010-08-23, at 5:20 PM, Sean McGovern wrote:

> I don't have a 10.4 box to test with. Both my Mini and MBP run 10.6.
> 
> I would also like to know if anyone has tested my AC3 passthrough
> patch for same and if so, can it be committed?
> 
> -- Sean
> 
> On 8/23/10, Ronny Falk <mailronny at gmail.com> wrote:
>> Hi,
>> 
>> I found a small inconvenience with libao2/coreaudio.c in mplayer SVN-r32006
>> (or earlier).
>> 
>> the "struct ao_coreaudio_s" defines:
>> AudioDeviceIOProcID renderCallback;       /* Render callback used for SPDIF
>> */
>> 
>> This API was introduced with MacOS 10.5 (
>> http://developer.apple.com/mac/library/technotes/tn2010/tn2223.html)
>> 
>> If I want to build mplayer with coreaudio support for 10.4. Tiger it will
>> obviously not work because of the new API. Would it be possible to include
>> legacy support for 10.4? I am absolutely willing to help and contribute.
>> 
>> thanks a lot and please let me know
>> 
>> Ronny
>> _______________________________________________
>> MPlayer-dev-eng mailing list
>> MPlayer-dev-eng at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>> 
> 
> -- 
> Sent from my mobile device
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list