http://bugs.winehq.org/show_bug.cgi?id=2046
Summary: ALSA record creates buffer under run Product: Wine Version: 20040213 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-multimedia AssignedTo: wine-bugs@winehq.org ReportedBy: polleke@meosource.com
Hello,
I have a program called ASRC (freeware). Available for download here: http://www.asrc.info
My settings: AlSA driver with the 2.6.3 kernel and 1.02c drivers (those are the ones in 2.6.3). OSS doesn't work at all here with this program.
The problem: Click Settings->Audio and do an audio test. If everything goes well you'll hear yourself back. And see in the shell:
"Max RMS for squelch: 700.678. Ran out of dst buffer space. Max RMS for test: 700.678. Max Peak: 3000.000000. RMS2Squelch: 0.992782."
Those lines are made by the program, not by Wine.
Restart the app: Do the audio test again and you'll heard nonsense and see (notice the very high squelch number):
"Max RMS for squelch: 6513.454590. Ran out of dst buffer space. Max RMS for test: 6466.442383. Max Peak: 31085.000000. RMS2Squelch: 0.992782. Analysis: 0x0003"
When annalyzing with "--debugmsg +wave". You'll see at some point: "warn:wave:widRecorder buffer under run! 230 bytes dropped."
And after that a very fast increasing log (70MB in 10 seconds) with all lines like this: "trace:wave:widRecorder bytesRead=536870848 (direct) trace:wave:widRecorder bytes = 2048"
Restarting the app won't help.
This buffer underrun doesn't always happen after the first restart. But when it finally happens, it won't work anymore untill.... I'm not sure. It's starting to work sometimes after a while. Sometimes not at all. But if the record works (low squelch output, and you heard yourself), it keeps on working as long as you don't restart the app.
"out of dst buffer space." These messages are also some buffer error but I think they are not really related to this record problem. They come up only with playback. But that work ok.
I hope you're able to recreate the problem. I'll attach a file with: --debugmsg +wave Of a run of just ennough time to get the app running. But with the buffer under run line created by Wine.
Regards,
Paul van Schayck
Ps. Now I'm not even able to hear myself after a reboot of the whole box. Still this buffer underrun.