summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-plug-rate.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/alsa/alsa-plug-rate.c')
-rw-r--r--plugins/alsa/alsa-plug-rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-plug-rate.c b/plugins/alsa/alsa-plug-rate.c
index b2c43d2..d4a3068 100644
--- a/plugins/alsa/alsa-plug-rate.c
+++ b/plugins/alsa/alsa-plug-rate.c
@@ -55,7 +55,7 @@ PUBLIC AlsaPcmCtlT* AlsaCreateRate(SoftMixerT *mixer, AlsaStreamAudioT * stream,
error += snd_config_add(slaveConfig, elemConfig);
}
if (params->format) {
- error += snd_config_imake_string(&elemConfig, "format", params->formatS);
+ error += snd_config_imake_string(&elemConfig, "format", params->formatString);
error += snd_config_add(slaveConfig, elemConfig);
}
if (error) goto OnErrorExit;