[MPlayer-cvslog] r31714 - trunk/libao2/ao_coreaudio.c

adrian subversion at mplayerhq.hu
Sun Jul 11 23:02:53 CEST 2010


Author: adrian
Date: Sun Jul 11 23:02:53 2010
New Revision: 31714

Log:
Consistently use types as they are used by the API in ao_coreaudio.

Modified:
   trunk/libao2/ao_coreaudio.c

Modified: trunk/libao2/ao_coreaudio.c
==============================================================================
--- trunk/libao2/ao_coreaudio.c	Sun Jul 11 23:00:37 2010	(r31713)
+++ trunk/libao2/ao_coreaudio.c	Sun Jul 11 23:02:53 2010	(r31714)
@@ -352,10 +352,9 @@ ComponentDescription desc;
 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 @@ static void uninit(int immed)
 
       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,


More information about the MPlayer-cvslog mailing list