Linux + Wine + Voice Chat + USB Headset HowTo

I copied this from this cedega forum post before they delete it.

This little HowTo is for all the non-conformists out there like myself, who refuse to settle for using Windows.

Here are the steps I took to get World of Warcraft Voice Chat working on Linux+Wine.

Requirements:

  • Working ALSA drivers for your sound card(s).

  • Working Wine installation and are able to play WoW using Wine. (Wine version 0.9.46)

I will not attempt to go into in this HowTo about how to setup ALSA or Wine.

There are plenty of HowTo’s out there that accomplish that.

1) Configure ALSA. (Optional, only for voice chat on separate device or USB headset)

If you are like me and using a separate device or a USB headset then we need to alter our Alsa configuration.

First thing we need to know is what device number or headset is.

Open up a terminal and type the following:

Code:
cat /proc/asound/cards

Code:
You should then see something like this: 0 [M44 ]: ICE1712 - M Audio Delta 44 M Audio Delta 44 at 0xdc00, irq 19 1 [Headset ]: USB-Audio - Logitech USB Headset Logitech Logitech USB Headset at usb-0000:00:02.0-9, full speed

This shows us our main card, and our USB Headset.

Device #0 is our M Audio Delta 44

Device #1 is our Logitech USB Headset.

Now edit your ~/.asoundrc file and add the following.

Code:
pcm.headset { type hw card 1 } ctl.headset { type hw card 1 }

2) Edit the Wine registry.

Edit the file located in ~/.wine/user.reg and add the following section to the end of the file:

Code:
[Software\Wine\Alsa Driver] “AutoScanCards”=”N” “DeviceCount”=”2” “DevicePCM1”=”default” “DevicePCM2”=”headset”

I personally have two “devices” on my computer. My main sound card, which is an MAudio Delta 44, and a Logitec USB Headset (which I want to use for voice chat).

** If you only have one sound card, and will be using that card for voice chat, change “DeviceCount”=”2” to “DeviceCount”=”1”, and remove “DevicePCM2”=”headset”.

Now save the file and move to step 3.

3) Configure Wine to use ALSA.

Open up a terminal and run:

winecfg

Once the winecfg main windows is up, navigate to the “Audio” tab.

Here you will see a list of Sound Drivers available to Wine.

UN CHECK “OSS Driver”

CHECK “ALSA Driver”

Within the “Alsa Driver” tree you should now see your device(s) within the “Wave Out Devices” and “Wave In Devices”.

Here is what my Alsa Driver tree looks like:

Code:
- - Sound Devices |- Alsa Driver |- Wave Out Devices |- dmix:0 |- USB Audio |- Wave In Devices |- dsnoop:0 |- USB Audio

If you have only one sound card, and will be using it for voice chat, you may not see the “USB Audio” device.

Now, at the bottom of this tab we need to change some options.

Make sure the following options are set:

“Hardware Acceleration:” to “Full”

“Default Sample Rate:” to “44100”

“Default Bits Per Sample:” to “16”

CHECK “Driver Emulation”

Now click “Apply”, the click “OK” and move on to step 4.

4) Start WoW

Now configure your voice chat settings just as you would on windows!