[Mplayer-cvslog] CVS: main/libao2 ao_jack.c,1.1,1.2
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun Jun 27 15:18:08 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv9871
Modified Files:
ao_jack.c
Log Message:
1000l in GET_VOLUME. Fix by Lu Ran, hephooey (at) fastmail (dot) fm.
Index: ao_jack.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_jack.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ao_jack.c 25 Jun 2004 18:11:13 -0000 1.1
+++ ao_jack.c 27 Jun 2004 13:18:06 -0000 1.2
@@ -57,11 +57,11 @@
case AOCONTROL_GET_VOLUME:
{
ao_control_vol_t *vol = (ao_control_vol_t *)arg;
- int *l, *r;
+ int l, r;
- JACK_GetVolume(driver, l, r);
- vol->left = (float )*l;
- vol->right = (float )*r;
+ JACK_GetVolume(driver, &l, &r);
+ vol->left = (float )l;
+ vol->right = (float )r;
return CONTROL_OK;
}
More information about the MPlayer-cvslog
mailing list