Mercurial > hg > xmms-sid
comparison 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 |
comparison
equal
deleted
inserted
replaced
306:e6dec620b1b3 | 307:b6481d876ec2 |
---|---|
148 xs_cfg.oversampleFactor = XS_MIN_OVERSAMPLE; | 148 xs_cfg.oversampleFactor = XS_MIN_OVERSAMPLE; |
149 else | 149 else |
150 if (xs_cfg.oversampleFactor > XS_MAX_OVERSAMPLE) | 150 if (xs_cfg.oversampleFactor > XS_MAX_OVERSAMPLE) |
151 xs_cfg.oversampleFactor = XS_MAX_OVERSAMPLE; | 151 xs_cfg.oversampleFactor = XS_MAX_OVERSAMPLE; |
152 | 152 |
153 if (xs_cfg.audioChannels != XS_CHN_MONO) | |
154 xs_cfg.oversampleEnable = FALSE; | |
155 | |
153 xs_status.audioFrequency = xs_cfg.audioFrequency; | 156 xs_status.audioFrequency = xs_cfg.audioFrequency; |
154 xs_status.audioBitsPerSample = xs_cfg.audioBitsPerSample; | 157 xs_status.audioBitsPerSample = xs_cfg.audioBitsPerSample; |
155 xs_status.audioChannels = xs_cfg.audioChannels; | 158 xs_status.audioChannels = xs_cfg.audioChannels; |
156 xs_status.audioFormat = -1; | 159 xs_status.audioFormat = -1; |
157 xs_status.oversampleEnable = xs_cfg.oversampleEnable; | 160 xs_status.oversampleEnable = xs_cfg.oversampleEnable; |