http://bugs.winehq.org/show_bug.cgi?id=25859
Summary: winealsa cannot play 11025Hz on HDA even when HDA codec support 11025Hz Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: superquad.vortex2@gmail.com
using winealsa.drv and HDA codec which support 11025Hz
any application using waveoutopen cannot play 11025Hz 16bit stereo with the following hidden warning message unless you use WINEDEBUG=warn+wave
warn:wave:wodOpen unable to set buffer time: Invalid argument
http://bugs.winehq.org/show_bug.cgi?id=25859
--- Comment #1 from Raymond superquad.vortex2@gmail.com 2011-01-23 03:10:04 CST --- http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/pci/hda/hda_in...
snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 128); snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 128);
winealsa.drv/waveout.c
unsigned int buffer_time = 120000; unsigned int period_time = 22000;
reverse the order seem fix the bug
- dir=0; - EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params, &buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time"); dir=0; EXIT_ON_ERROR( snd_pcm_hw_params_set_period_time_near(pcm, hw_params, &period_time, &dir), MMSYSERR_INVALPARAM, "unable to set period time"); + dir=0; + EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params, &buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time");
http://bugs.winehq.org/show_bug.cgi?id=25859
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Severity|blocker |minor
--- Comment #2 from Austin English austinenglish@gmail.com 2011-01-23 04:14:55 CST --- Not a blocker. Patches should be sent to wine-patches@winehq.org.
http://bugs.winehq.org/show_bug.cgi?id=25859
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winmm&mci |winealsa.drv
http://bugs.winehq.org/show_bug.cgi?id=25859
--- Comment #3 from Raymond superquad.vortex2@gmail.com 2011-04-12 18:25:34 CDT --- (In reply to comment #2)
Not a blocker. Patches should be sent to wine-patches@winehq.org.
since dir=0 or NULL mean to ask for exact period time, but the selected period time 22ms won't work on all drivers too.
http://bugs.winehq.org/show_bug.cgi?id=25859
--- Comment #4 from butraxz@gmail.com 2013-10-18 13:30:20 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
http://bugs.winehq.org/show_bug.cgi?id=25859
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #5 from hanska2@luukku.com --- Last comment
2011-04-12 18:25:34 CDT regarding this issue.
Is this still valid??
https://bugs.winehq.org/show_bug.cgi?id=25859
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |wylda@volny.cz Resolution|--- |ABANDONED
--- Comment #6 from Wylda wylda@volny.cz --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=25859
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Wylda wylda@volny.cz --- Closing - abandoned.