Mercurial > hg > xmms-sid
comparison src/xs_sidplay2.cc @ 700:e2800b15ec0f
Compiles with distortion patched libsidplay2+reSID now, but crashes for some
reason in libsidplay .. not sure if this is caused by me or not.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 23 May 2008 19:48:13 +0300 |
parents | ca594ca1056f |
children | b5b6b13a6d85 |
comparison
equal
deleted
inserted
replaced
699:156fbba8768c | 700:e2800b15ec0f |
---|---|
279 if (!*rs) { | 279 if (!*rs) { |
280 xs_error("reSID->filter(%d) failed.\n", xs_cfg.emulateFilters); | 280 xs_error("reSID->filter(%d) failed.\n", xs_cfg.emulateFilters); |
281 return FALSE; | 281 return FALSE; |
282 } | 282 } |
283 | 283 |
284 #ifndef HAVE_SIDPLAY2_DISTORTION | |
284 // FIXME FIX ME: support other configurable parameters ... | 285 // FIXME FIX ME: support other configurable parameters ... |
285 // ... WHEN/IF resid-builder+libsidplay2 gets fixed | 286 // ... WHEN/IF resid-builder+libsidplay2 gets fixed |
286 rs->sampling(tmpFreq); | 287 rs->sampling(tmpFreq); |
287 if (!*rs) { | 288 if (!*rs) { |
288 xs_error("reSID->sampling(%d) failed.\n", tmpFreq); | 289 xs_error("reSID->sampling(%d) failed.\n", tmpFreq); |
289 return FALSE; | 290 return FALSE; |
290 } | 291 } |
292 #endif | |
291 | 293 |
292 if (tmpFilter.points > 0) | 294 if (tmpFilter.points > 0) |
293 rs->filter((sid_filter_t *) &tmpFilter); | 295 rs->filter((sid_filter_t *) &tmpFilter); |
294 else | 296 else |
295 rs->filter((sid_filter_t *) NULL); | 297 rs->filter((sid_filter_t *) NULL); |