diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-28 08:42:35 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-28 08:42:35 +0000 |
commit | 5edd9af248f1a917d7daf7e106ac0a18660ef60d (patch) | |
tree | 8ac2949040dc139c04f4070fd260f69cb2af7e79 /libao2 | |
parent | 1fdbab9197d1e3d77fcc90c18eeeb33d5a7d57ef (diff) |
Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_macosx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libao2/ao_macosx.c b/libao2/ao_macosx.c index 591fee18fb..6e111519f2 100644 --- a/libao2/ao_macosx.c +++ b/libao2/ao_macosx.c @@ -173,7 +173,7 @@ int req=(inNumFrames)*ao->packetSize; 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 void print_format(const char* str,AudioStreamBasicDescription *f){ 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 @@ static float get_delay(void) /* 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; |