winemp3.acm on the mac
Marcus Meissner
meissner at suse.de
Fri Mar 12 04:08:08 CST 2010
On Thu, Mar 11, 2010 at 08:46:27PM -0600, Aric Stewart wrote:
> Hello all,
>
> So I have been hacking on winemp3.acm on the mac to make use of
> CoreAudio for mp3 decoding and I have just gotten it working. So now
> I am faced with a questions.
>
> Do I setup winemp3.acm with #ifdefs to pick between the libmpg123
> or CoreAudio paths, leaving us with 1 winemp3.acm that can do both.
>
> Or do I create a new winecoreaudio.acm (or such) that just
> contains the CoreAudio path.
>
> I see pluses and minuses to each and am unsure which would be
> better. I think personally I would prefer the first option however
> that potentially really complicates the build system and then what
> happens if someone has a mac with the libmpg123 headers.
>
> Adding a new acm would not be too problematic if people feel that
> would be better. The advantage there is it would be possible to
> expand that acm to handle all the types the CoreAudio handles and
> not just mp3.
Well, perhaps handle it in the same directory, but with different sourcefiles,
selected depending on framework?
Or can we build winemp3.acm from two different directories?
#ifdef is ugly.
Ciao, Marcus
More information about the wine-devel
mailing list