You are not logged in.

#1 2011-05-15 10:24:55

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

[SOLVED] Setting default audio device pulseaudio

Now i finally get almost all sounds working, but i need to select somehow default output sound device, because i can't change it manually with 'pavucontrol'. When i run Windows applications with Wine i don't get sounds either and 'pavucontrol' is not giving any output of Windows game. Is these problem solved with changing default device if yes, how do i do it?

Using Logitech G930 sound card.

lsof /dev/snd/* output:

COMMAND    PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
knotify4  3078 arska134  mem    CHR  116,3          1568 /dev/snd/pcmC0D0p
knotify4  3078 arska134   20u   CHR 116,33      0t0 3463 /dev/snd/timer
knotify4  3078 arska134   21r   CHR  116,3      0t0 1568 /dev/snd/pcmC0D0p
pulseaudi 3218 arska134  mem    CHR  116,7          6421 /dev/snd/pcmC1D0p
pulseaudi 3218 arska134  mem    CHR  116,8          6422 /dev/snd/pcmC1D0c
pulseaudi 3218 arska134   20u   CHR  116,9      0t0 6423 /dev/snd/controlC1
pulseaudi 3218 arska134   26u   CHR  116,9      0t0 6423 /dev/snd/controlC1
pulseaudi 3218 arska134   27u   CHR  116,8      0t0 6422 /dev/snd/pcmC1D0c
pulseaudi 3218 arska134   34u   CHR  116,7      0t0 6421 /dev/snd/pcmC1D0p

pacmd list-sinks output:

Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: 
        priority: 9049
        volume: 0:  35% 1:  35%
                0: -27.42 dB 1: -27.42 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 30.13 ms
        max request: 3 KiB
        max rewind: 344 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 20.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.usb-Logitech_Logitech_G930_Headset-00-Headset>
        module: 4
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "Logitech G930 Headset"
                alsa.long_card_name = "Logitech Logitech G930 Headset at usb-0000:00:13.1-2, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:13.1-usb-0:2:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_G930_Headset-00-Headset"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a1f"
                device.product.name = "Logitech G930 Headset"
                device.serial = "Logitech_Logitech_G930_Headset"
                device.form_factor = "headset"
                device.string = "front:1"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Logitech G930 Headset Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0a1f"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"

Solution:

gulafaran wrote:

get the wine-pulse package from AUR and add "mmdevapi" to winecfg libraries and set it to disabled and set Audio to Pulseaudio

Last edited by Arska134 (2011-05-15 16:52:53)

Offline

#2 2011-05-15 10:43:41

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Setting default audio device pulseaudio

Arska14, please update your topic title so that it reflects that it's a pulseaudio / wine question.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-05-15 11:45:20

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

Re: [SOLVED] Setting default audio device pulseaudio

and here is some console log when i tried to play Enemy-territory. Sounds not working. hmm
http://paste.servut.us/plain/uyit

I found this:

------- sound initialization -------
SDL audio driver initializing...
SDL_AudioDriverName() = NULL
------------------------------------

Why NULL?

Edit:
Sounds not working currently: System sounds, Enemy-territory, Call of duty 4 (with wine)

but works in Wings 2. O_o

Edit 2:

litemotiv wrote:

Arska14, please update your topic title so that it reflects that it's a pulseaudio / wine question.

i removed Wine from topic title because it's not affecting wine only.

Last edited by Arska134 (2011-05-15 11:52:25)

Offline

#4 2011-05-15 12:01:13

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: [SOLVED] Setting default audio device pulseaudio

U can try

padsp winecfg

choose OSS and

padsp wine (programname)

as refer to here


O' rly ? Ya rly Oo

Offline

#5 2011-05-15 12:07:59

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

Re: [SOLVED] Setting default audio device pulseaudio

cybertorture wrote:

U can try

padsp winecfg

choose OSS and

padsp wine (programname)

as refer to here

Call of duty 4 crashes when starting game after splash.

Here is console output:
http://paste.servut.us/plain/bc6a

Offline

#6 2011-05-15 12:19:35

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

Re: [SOLVED] Setting default audio device pulseaudio

And here is picture hope it helps:
http://i.servut.us/i/snapshot3s.png

As you can see 'pavucontrol' detects mumble and Qmmp music player, but not wine application. When i start Wings 2, it shows up on playback. But when i start CoD 4 or Enemy-territory, there is no playback.

Offline

#7 2011-05-15 13:53:54

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

Re: [SOLVED] Setting default audio device pulseaudio

System sounds are working now after i disabled HD Audio control from BIOS. So Enemy-territory and wine sounds not working.

Offline

#8 2011-05-15 15:05:28

gulafaran
Member
Registered: 2011-02-09
Posts: 22

Re: [SOLVED] Setting default audio device pulseaudio

get the wine-pulse package from AUR and add "mmdevapi" to winecfg libraries and set it to disabled and set Audio to Pulseaudio

Offline

#9 2011-05-15 16:51:29

Arska134
Member
From: Finland
Registered: 2011-05-14
Posts: 10

Re: [SOLVED] Setting default audio device pulseaudio

gulafaran wrote:

get the wine-pulse package from AUR and add "mmdevapi" to winecfg libraries and set it to disabled and set Audio to Pulseaudio

Thank you. thank you so much. It worked. Finally answer. smile

Offline

Board footer

Powered by FluxBB