Can Wine play Audio using Alsaequal?

Questions about Wine on Linux
Locked
Shalrath
Level 1
Level 1
Posts: 5
Joined: Sat May 18, 2013 8:06 pm

Can Wine play Audio using Alsaequal?

Post by Shalrath »

Hi,

I recently installed alsaequal as a sytem-wide equalizer. At first, I had no sound at all in wine due to missing 32-bit libraries. So I installed the 32-bit version of alsaequal and all its dependencies. Now there is sound in wine again, but it is not affected by the settings I make in alsaequal. Is there a way to make this work or does wine bypass any alsa-plugins?

my /etc/asound.conf looks the following:

Code: Select all

defaults.pcm.card 2
defaults.pcm.device 0
defaults.ctl.card 2
defaults.pcm.rate_converter "samplerate_best"

ctl.equal {
 type equal;
}

pcm.plugequal {
  type equal;
  slave.pcm "plug:dmix";
}

pcm.!default {
  type plug;
  slave.pcm plugequal;
}
Thanks for your support!
Stephan
Lockheed
Level 2
Level 2
Posts: 27
Joined: Tue Sep 01, 2009 12:51 am

Re: Can Wine play Audio using Alsaequal?

Post by Lockheed »

I have that question, too. But how do you know the equalizer doesn't affect wine apps?
aady
Level 2
Level 2
Posts: 14
Joined: Sat Apr 20, 2013 12:24 pm

Re: Can Wine play Audio using Alsaequal?

Post by aady »

Up. I confirm, still it not work.

My .asoundrc

Code: Select all

defaults.pcm.rate_converter "samplerate_best"

pcm.snd_card {
        type hw
        card 0
}

pcm.aout {
        type dmix
        ipc_key 1
        ipc_key_add_uid false
        ipc_perm 0660
        slave {
                pcm "snd_card"
                channels 2
        }
}

# Audio in
pcm.ain {
        type dsnoop
        ipc_key 2
        ipc_key_add_uid false
        ipc_perm 0660
        slave {
                pcm "snd_card"
                channels 2
        }
}

pcm.!surround71 {
        type vdownmix
        slave.pcm "aout"
}

pcm.asymed {
        type asym
        playback.pcm "surround71"
        capture.pcm  "ain"
        slave.pcm "equal"
}

ctl.equal {
    type equal;
}

pcm.plugequal {
    type equal;
    slave.pcm "plug:dmix";
}

pcm.!default {
        type plug
        slave.pcm "plugequal"
}
After launch some (wow) game, only this written in console:

Code: Select all

ALSA lib pcm_dmix.c:963:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
If lunch alsamixer -D equal in switching frequency imperceptibly frequency changes.
Locked