Index: libao2/ao_macosx.c =================================================================== RCS file: /cvsroot/mplayer/main/libao2/ao_macosx.c,v retrieving revision 1.3 diff -u -r1.3 ao_macosx.c --- libao2/ao_macosx.c 6 Apr 2004 17:55:36 -0000 1.3 +++ libao2/ao_macosx.c 9 Jul 2004 23:50:55 -0000 @@ -64,7 +64,7 @@ /* This is large, but best (maybe it should be even larger). * CoreAudio supposedly has an internal latency in the order of 2ms */ -#define NUM_BUFS 128 +#define NUM_BUFS 16 typedef struct ao_macosx_s { @@ -243,19 +243,7 @@ } ao_msg(MSGT_AO,MSGL_V, "%5d ao->buffer_len\n", (int)ao->buffer_len); - /* FIXME: - * - * Resampling of 32-bit float audio is broken in MPlayer. Refuse to - * handle anything other than the native format until this is fixed - * or this module is rewritten, whichever comes first. - */ - if (ao_data.samplerate == ao->outputStreamBasicDescription.mSampleRate) { - ao_data.samplerate = (int)ao->outputStreamBasicDescription.mSampleRate; - } else { - ao_msg(MSGT_AO,MSGL_WARN, "Resampling not supported yet.\n"); - return 0; - } - + ao_data.samplerate = ao->outputStreamBasicDescription.mSampleRate; ao_data.channels = ao->outputStreamBasicDescription.mChannelsPerFrame; ao_data.outburst = ao_data.buffersize = ao->buffer_len; ao_data.bps = Index: AUTHORS =================================================================== RCS file: /cvsroot/mplayer/main/AUTHORS,v retrieving revision 1.97 diff -u -r1.97 AUTHORS --- AUTHORS 6 Jul 2004 13:45:07 -0000 1.97 +++ AUTHORS 9 Jul 2004 23:50:55 -0000 @@ -154,7 +154,7 @@ Christiansen, Dan Villiom Podlaski (danchr) * timer-darwin.c - * ao_macosx (unmaintained and broken) + * ao_macosx * build system cleanups for Darwin Comstedt, Marcus