[Bug 3080] New: Wine and DMIX (ALSA 1.0.8 and 1.0.9) broken again - especially DirectSound

Wine Bugs wine-bugs at winehq.org
Mon Jun 27 15:20:08 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3080

           Summary: Wine and DMIX (ALSA 1.0.8 and 1.0.9) broken again -
                    especially DirectSound
           Product: Wine
           Version: 20050524
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-multimedia
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: leon_fraitak at mail.ru


After setting up Wine to work with DMIX (used an undocumented config option in  
[ALSA] section I had to find out by looking at the source code!) 
I encounter choppy sound with Wine whenever the CPU load is higher than 
10-15%, and when it's 20% the sound stops playing at all. 
This may be also an ALSA bug, because without ~/.asoundrc Wine produces sound 
full of crackles (DMIX is being used then too) 
 
Here's my asoundrc: 
 
pcm.my_card { 
  type hw 
  card 0 
  mmap_emulation true 
} 
 
pcm.dmixed { 
 type dmix 
        # any unique number here 
        ipc_key 313 
        slave { 
                pcm "hw:0,0" 
                # these settings may require tweaking for different sound 
                # cards; this is for the Powerbook's built-in snd-powermac 
                # probably not required at all for well-behaved cards... 
                period_time 0 
                period_size 1024 
                buffer_size 16384 
                # mentioning rate fixes wrong speed/pitch in native ALSA stuff 
                rate 44100 
        } 
} 
 
 
ctl.asymed { 
  type hw 
  card 0 
} 
 
pcm.dsnooped { 
  type dsnoop  
  ipc_key 2048  
  slave { 
    pcm "my_card"  
#   rate 48000 
#   period_size 128 
  } 
} 
 
pcm.asymed { 
  type asym 
  playback.pcm "dmixed" 
  capture.pcm "dsnooped" 
} 
 
pcm.pasymed { 
  type plug  
  slave.pcm "asymed" 
} 
 
pcm.dsp0 { 
  type plug 
  slave.pcm "asymed" 
} 
 
pcm.!default { 
  type plug 
  slave.pcm "asymed" #asymed 
} 
 
ctl.!default { 
  type hw 
  card 0 
} 
 
Is that because Wine uses mmap? It is currently incompatible with DMIX.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list