http://bugs.winehq.org/show_bug.cgi?id=25587
Summary: winejack advertises incorrect supported sample rates Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: patrakov@gmail.com
This is a copy-paste from Bug 14717 comment 46 (by Raymond), to keep the different bugs "zero-order-hold resampler is used" and "winejack advertises incorrect supported sample rates" discussed in different places.
===
if winejack.drv can only 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
948 /* NOTE: we don't support any 8 bit modes so note that */ 949 /* WOutDev[i].caps.dwFormats |= WAVE_FORMAT_4M08; 950 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_4S08; */ 951 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_4S16; 952 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_4M16; 953 /* WOutDev[i].caps.dwFormats |= WAVE_FORMAT_2M08; 954 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_2S08; */ 955 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_2M16; 956 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_2S16; 957 /* WOutDev[i].caps.dwFormats |= WAVE_FORMAT_1M08; 958 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_1S08;*/ 959 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_1M16; 960 WOutDev[i].caps.dwFormats |= WAVE_FORMAT_1S16; 961 }
It only 16bit and WAVE_FORMAT_48M16 | WAVE_FORMAT_48S16 by providing 16bit -> float conversion
if you start jack server at 96000Hz, winejack.drv should WAVE_FORMAT_96S16 | WAVE_FORMAT_96M16 in waveoutcaps
http://bugs.winehq.org/show_bug.cgi?id=25587
Alexander E. Patrakov patrakov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25587
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #1 from Austin English austinenglish@gmail.com 2011-10-01 14:39:38 CDT --- Wine no longer supports JACK audio.
http://bugs.winehq.org/show_bug.cgi?id=25587
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-10-04 15:25:56 CDT --- Closing.