MorseRunner under Debian

From Tučňák Wiki
Revision as of 18:38, 19 July 2010 by Ok1zia (talk | contribs) (Created page with 'Before some months I tryed to test Morse Runner by VE3NEA. But program was frozen when i started contest. Here is my solution. Problem is simple. Debian uses Alsa dmix plugin as...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Before some months I tryed to test Morse Runner by VE3NEA. But program was frozen when i started contest. Here is my solution.

Problem is simple. Debian uses Alsa dmix plugin as standard output device. It is software mixer that allows more application to play sound simultaneously. Unfortunetelly it does not support recording. Morse runner probably opens sound card for both directions. When you run wine from command line, you'll see:

ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

My solution is to force Wine to use other sound card device. You can use regedit (run wine regedit) and add string values to HKEY_CURRENT_USER. Next way is to add these lines directly into ~/.wine/user.reg :

[Software\\Wine\\Alsa Driver] 1279562486
"AutoScanCards"="N"
"DeviceCount"="1"
"DeviceCTL1"="plughw:0,0"
"DevicePCM1"="plughw:0,0"
"UseDirectHW"="N"

That's all. Happy training! 73 Lada, OK1ZIA