diff options
author | Hans-Kristian Arntzen <maister@archlinux.us> | 2014-03-09 18:38:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-11 00:20:56 +0100 |
commit | 623b97e45a90408b91931f213f99de97092b8e76 (patch) | |
tree | 41346094141d9526df8c8ecf87f4e93a75fe59cb /audio/out | |
parent | 7a645ba62fe10df2de147a8d5bb0bc9929f5f014 (diff) | |
download | mpv-623b97e45a90408b91931f213f99de97092b8e76.tar.bz2 mpv-623b97e45a90408b91931f213f99de97092b8e76.tar.xz |
ao_rsound: pass correct data type to rsd_set_param()
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao_rsound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_rsound.c b/audio/out/ao_rsound.c index 6bd99030a1..c614e03732 100644 --- a/audio/out/ao_rsound.c +++ b/audio/out/ao_rsound.c @@ -111,8 +111,8 @@ static int init(struct ao *ao) return -1; } - rsd_set_param(priv->rd, RSD_SAMPLERATE, &ao->samplerate); - rsd_set_param(priv->rd, RSD_CHANNELS, &ao->channels.num); + rsd_set_param(priv->rd, RSD_SAMPLERATE, (int[]) { ao->samplerate }); + rsd_set_param(priv->rd, RSD_CHANNELS, (int[]) { ao->channels.num }); ao->format = af_fmt_from_planar(ao->format); |