Bug: Resampler always enabled on startup
Reply #2 – 2003-05-29 23:29:32
I don't know what's up. I can't reproduce it anymore, now it's different. If playback is started with resampler disabled and resampler is enabled while playback, The sound changes but is still weird / different from the correct sound that occurs when resampler is active on playback start. Details see below. Report: More System details: Via KT133 Chipset, BUS @ 100MHz, AC'97 onboard sound, Realtek Driver; Athlon 1300MHZ, 512MB SDRAM @ 133MHz; Average CPU usage (fb2k not playing) 13%foobar2000 settings: Repeat on Replaygain disabled Output 16 bit fixed-point no Dither no other DSPs activeResampler settings (if active): ..Target sample rate: 48000 S/s .. Slow mode ..Internal precision: 64bit1. Output: Direct Sound 1.1. foobar2000 startup with Active DSPs: Resampler (SSRC) -> Start playback. Results: Sound: OK CPU usage: ~60%Console info: INFO (foo_output_std) : attempting to create DirectSound buffer : 48000Hz 16bps 2ch fixed-point INFO (foo_output_std) : DirectSound initialized successfully, using software mixing 1.2. Deactivate Resampler while playback. Results: Sound: weird CPU usage: ~20%Console info: INFO (foo_output_std) : attempting to create DirectSound buffer : 44100Hz 16bps 2ch fixed-point INFO (foo_output_std) : DirectSound initialized successfully, using software mixing 1.3. Switch Resampler off/on/off ... Results: The same. 1.4. Stop playback -> Deactivate Resampler -> Start playback. Results: Sound: weird CPU usage: ~20%Console info: INFO (foo_output_std) : attempting to create DirectSound buffer : 44100Hz 16bps 2ch fixed-point INFO (foo_output_std) : DirectSound initialized successfully, using software mixing 1.5. Activate Resampler while playback. Results: Sound: weird but different CPU usage: ~60%Console info: INFO (foo_output_std) : attempting to create DirectSound buffer : 48000Hz 16bps 2ch fixed-point INFO (foo_output_std) : DirectSound initialized successfully, using software mixing 1.6. Switch Resampler off/on/off ... Results: The same. 1.7. Close fb2k with Resampler disabled, Startup -> Start Playback. Results the same as 1.4 1.8. Activate Resampler while playback. Results the same as 1.5 1.9. Same as 1.6 1.10. Stop playback -> Activate Resampler -> Start playback. Results same as 1.1 1.11. same as 1.2. 1.12. same as 1.3.2. Output: Waveout As expected: Resampler on -> Sound OK, Resampler off -> Sound weird without exception. So as 1.5. and 1.8. (reproducable) suggest, theres something wrong, but not as bad as it seemed before - sorry about that. If I manage to reproduce the 1st behaviour I'll report. Cheers tigre