Mercurial > hg > xmms-sid
diff src/xmms-sid.c @ 307:b6481d876ec2
Disable oversampling if non-mono output; remove disabling of oversampling
settings in configuration dialog.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 26 Dec 2004 15:33:03 +0000 |
parents | e6dec620b1b3 |
children | ae5795ba5c77 |
line wrap: on
line diff
--- a/src/xmms-sid.c Sun Dec 26 14:59:01 2004 +0000 +++ b/src/xmms-sid.c Sun Dec 26 15:33:03 2004 +0000 @@ -150,6 +150,9 @@ if (xs_cfg.oversampleFactor > XS_MAX_OVERSAMPLE) xs_cfg.oversampleFactor = XS_MAX_OVERSAMPLE; + if (xs_cfg.audioChannels != XS_CHN_MONO) + xs_cfg.oversampleEnable = FALSE; + xs_status.audioFrequency = xs_cfg.audioFrequency; xs_status.audioBitsPerSample = xs_cfg.audioBitsPerSample; xs_status.audioChannels = xs_cfg.audioChannels;