Mercurial > mplayer.hg
comparison libao2/pl_volume.c @ 9633:12b1790038b0
64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
author | alex |
---|---|
date | Fri, 21 Mar 2003 16:42:50 +0000 |
parents | 46d21c0f36aa |
children | 815f03b7cee5 |
comparison
equal
deleted
inserted
replaced
9632:cf92beb331ab | 9633:12b1790038b0 |
---|---|
41 } pl_volume_t; | 41 } pl_volume_t; |
42 | 42 |
43 static pl_volume_t pl_volume={0,0,0}; | 43 static pl_volume_t pl_volume={0,0,0}; |
44 | 44 |
45 // to set/get/query special features/parameters | 45 // to set/get/query special features/parameters |
46 static int control(int cmd,int arg){ | 46 static int control(int cmd,void *arg){ |
47 switch(cmd){ | 47 switch(cmd){ |
48 case AOCONTROL_PLUGIN_SET_LEN: | 48 case AOCONTROL_PLUGIN_SET_LEN: |
49 return CONTROL_OK; | 49 return CONTROL_OK; |
50 case AOCONTROL_GET_VOLUME:{ | 50 case AOCONTROL_GET_VOLUME:{ |
51 if(pl_volume.inuse){ | 51 if(pl_volume.inuse){ |