ao_rsound: pass correct data type to rsd_set_param()

Signed-off-by: wm4 <wm4@nowhere>
This commit is contained in:
Hans-Kristian Arntzen 2014-03-09 18:38:35 +01:00 committed by wm4
parent baa6d9491c
commit a84e25eb59
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,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);