summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_jack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libao2/ao_jack.c b/libao2/ao_jack.c
index 9b5155261e..96321e84ef 100644
--- a/libao2/ao_jack.c
+++ b/libao2/ao_jack.c
@@ -57,11 +57,11 @@ static int control(int cmd, void *arg)
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;
}