diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-08-30 21:36:25 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-08-30 21:36:25 +0000 |
commit | b1df213042ef14c24b6d370e5fe16c681508af8b (patch) | |
tree | 29705baf7f5812cfa3c713685dbc192d4e46b886 /audio/pcm_bluetooth.c | |
parent | 2450e5e214398dc9d70fd28dcde9c2ac31bf8a29 (diff) |
Fix use of = instead of == to compare audio mode.
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r-- | audio/pcm_bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index 9fed93a8..b99f4ccd 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -788,7 +788,7 @@ static int bluetooth_a2dp_hw_constraint(snd_pcm_ioplug_t *io) return err; /* supported channels */ - channels = cfg.mode = CFG_MODE_MONO ? 1 : 2; + channels = cfg.mode == CFG_MODE_MONO ? 1 : 2; err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_CHANNELS, channels, channels); if (err < 0) |