# HG changeset patch # User adrian # Date 1278882173 0 # Node ID a09f029875949195c07ce74149500e0156b0bfdb # Parent 976c9554f28420e79761567c8ef5cc0454d2afd9 Consistently use types as they are used by the API in ao_coreaudio. diff -r 976c9554f284 -r a09f02987594 libao2/ao_coreaudio.c --- a/libao2/ao_coreaudio.c Sun Jul 11 21:00:37 2010 +0000 +++ b/libao2/ao_coreaudio.c Sun Jul 11 21:02:53 2010 +0000 @@ -352,10 +352,9 @@ Component comp; AURenderCallbackStruct renderCallback; OSStatus err; -UInt32 size, maxFrames, i_param_size; +UInt32 size, maxFrames, i_param_size, b_alive; char *psz_name; AudioDeviceID devid_def = 0; -int b_alive; ao_msg(MSGT_AO,MSGL_V, "init([%dHz][%dch][%s][%d])\n", rate, channels, af_fmt2str_short(format), flags); @@ -1043,7 +1042,7 @@ if (ao->b_changed_mixing && ao->sfmt_revert.mFormatID != kAudioFormat60958AC3) { - int b_mix; + UInt32 b_mix; Boolean b_writeable; /* Revert mixable to true if we are allowed to. */ err = IsAudioPropertySettable(ao->i_selected_dev,