http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #157 from Raymond superquad.vortex2@gmail.com 2011-03-05 21:22:34 CST --- (In reply to comment #47)
(In reply to comment #46)
if winejack.drv can nly supply only jack server'sample rate
wwo->sample_rate = fp_jack_get_sample_rate(client);
but in waveoutcaps , it incorrectly state that it can support 16bits 11025Hz, 22050Hz and 44100Hz if the jack server is running at 48000Hz
The above statement is a different bug (if a bug at all, because wine resamples, and Windows via HEL also resamples sound for cards that can support only 48 kHz), please discuss this elsewhere. Please leave discussion in this bug limited to the fact that the existing resampler in wine is a zero-order hold and that there is a patch being developed.
This won't improve winejack.drv , since winejack does not support dsound nor WINE_DIRECTSOUND in winejack.drv/audio.c
dwFlags &= ~WAVE_DIRECTSOUND; /* direct sound not supported, ignore the flag
winejack.drv only support waveoutopen only the jack server rate, it seem has trick to shutdown jack server when request sample rate is not equal to jack server sample rate. (i.e. user must know the application's request sample rate and set the jack server to run at that rate )
adding a resampler and convertor inside winejack.drv is the way to improve winejack since the waveout is still bad even when you add a resampler inside dsound
Yes , I agree that the current resampler work best only when convert 11025Hz or 22050Hz to 44100Hz, (i.e. the sound card 's rate is a multiple of the requested sample rate ) and it work bad when the sound card's supported rate is not a multipler of the requested sample rate
does those sound cards which only support 48000Hz have same quality as those certified sound cards in windows ?