Mercurial > mplayer.hg
diff libao2/ao_macosx.c @ 23381:300e9b7c499f
Remove some unused variables, patch by timwoj ieee org.
author | diego |
---|---|
date | Mon, 28 May 2007 08:42:35 +0000 |
parents | cea0eb833758 |
children | 09f9d0de17f1 |
line wrap: on
line diff
--- a/libao2/ao_macosx.c Mon May 28 08:18:23 2007 +0000 +++ b/libao2/ao_macosx.c Mon May 28 08:42:35 2007 +0000 @@ -173,7 +173,7 @@ static int control(int cmd,void *arg){ ao_control_vol_t *control_vol; OSStatus err; -Float32 pan, vol; +Float32 vol; switch (cmd) { case AOCONTROL_GET_VOLUME: control_vol = (ao_control_vol_t*)arg; @@ -237,7 +237,7 @@ static int init(int rate,int channels,int format,int flags) { -AudioStreamBasicDescription inDesc, outDesc; +AudioStreamBasicDescription inDesc; ComponentDescription desc; Component comp; AURenderCallbackStruct renderCallback; @@ -402,8 +402,6 @@ /* unload plugin and deregister from coreaudio */ static void uninit(int immed) { - int i; - OSErr status; if (!immed) { long long timeleft=(1000000LL*buf_used())/ao_data.bps;