ao_coreaudio: use same types as coreaudio API

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31714 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
adrian 2010-07-11 21:02:53 +00:00 committed by Uoti Urpala
parent 6d19d34506
commit 2050baef96
1 changed files with 2 additions and 3 deletions

View File

@ -352,10 +352,9 @@ ComponentDescription desc;
Component comp; Component comp;
AURenderCallbackStruct renderCallback; AURenderCallbackStruct renderCallback;
OSStatus err; OSStatus err;
UInt32 size, maxFrames, i_param_size; UInt32 size, maxFrames, i_param_size, b_alive;
char *psz_name; char *psz_name;
AudioDeviceID devid_def = 0; 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); 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) if (ao->b_changed_mixing && ao->sfmt_revert.mFormatID != kAudioFormat60958AC3)
{ {
int b_mix; UInt32 b_mix;
Boolean b_writeable; Boolean b_writeable;
/* Revert mixable to true if we are allowed to. */ /* Revert mixable to true if we are allowed to. */
err = IsAudioPropertySettable(ao->i_selected_dev, err = IsAudioPropertySettable(ao->i_selected_dev,