Mercurial > hg > xmms-sid
comparison src/xs_sidplayfp.cpp @ 851:4c4978e11ec0
Oops. Remember to set output audio format for FP backend.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Nov 2012 23:32:07 +0200 |
parents | 2663b1ac9ce6 |
children | 1f97cd026465 |
comparison
equal
deleted
inserted
replaced
850:82e759a5c7e6 | 851:4c4978e11ec0 |
---|---|
152 /* Configure channels and stuff */ | 152 /* Configure channels and stuff */ |
153 engine->config.playback = (state->audioChannels == XS_CHN_MONO) ? sid2_mono : sid2_stereo; | 153 engine->config.playback = (state->audioChannels == XS_CHN_MONO) ? sid2_mono : sid2_stereo; |
154 | 154 |
155 /* Audio parameters sanity checking and setup */ | 155 /* Audio parameters sanity checking and setup */ |
156 state->audioBitsPerSample = XS_RES_16BIT; | 156 state->audioBitsPerSample = XS_RES_16BIT; |
157 state->audioFormat = FMT_S16_NE; | |
157 engine->config.samplingMethod = SID2_RESAMPLE_INTERPOLATE; | 158 engine->config.samplingMethod = SID2_RESAMPLE_INTERPOLATE; |
158 engine->config.frequency = state->audioFrequency; | 159 engine->config.frequency = state->audioFrequency; |
159 | 160 |
160 /* Clockspeed settings */ | 161 /* Clockspeed settings */ |
161 switch (xs_cfg.clockSpeed) | 162 switch (xs_cfg.clockSpeed) |