comparison src/xs_sidplay2.cc @ 819:ab3216b1b582

Audio format was being forced to S16 NE even when it shouldn't have been. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Nov 2012 15:26:45 +0200
parents c83c08b2ede4
children 778531e968ed
comparison
equal deleted inserted replaced
818:81b3fe49ad54 819:ab3216b1b582
211 break; 211 break;
212 #endif 212 #endif
213 213
214 case XS_RES_16BIT: 214 case XS_RES_16BIT:
215 default: 215 default:
216 #ifdef HAVE_SIDPLAY2_FP
216 state->audioFormat = FMT_S16_NE; 217 state->audioFormat = FMT_S16_NE;
217 #ifndef HAVE_SIDPLAY2_FP 218 #else
218 switch (state->audioFormat) 219 switch (state->audioFormat)
219 { 220 {
220 case FMT_U16_LE: 221 case FMT_U16_LE:
221 engine->config.sampleFormat = SID2_LITTLE_UNSIGNED; 222 engine->config.sampleFormat = SID2_LITTLE_UNSIGNED;
222 break; 223 break;