You are not logged in.

#1 2009-07-09 17:40:57

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Wesnoth: no sound when mpd is playing

Hi,

is there a way to have the in game sound of wesnoth while mpd is playing?

Currently only one source is possible for me.

If you need some of my configs, please let me know.

TIA

barghest

Last edited by Barghest (2009-07-09 17:41:35)

Offline

#2 2009-07-09 19:59:39

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Wesnoth: no sound when mpd is playing

First of all:

http://wiki.archlinux.org/index.php/MPD

Which mpd client do you use ?

Alsa, Oss or pulseaudio ?

yeah, it would be great to see your config.

Is the configuration socket based ? Which version do you use?

Offline

#3 2009-07-10 12:33:11

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Wesnoth: no sound when mpd is playing

The client doesn't matter. Both, sonata and ncmpcpp, cause the problem.

I'm using Alsa and I had a similar problem with Urban Terror but I googled that for UT playing game sound and mpd isn't possible becaus UT uses Oss.

mpd-version:  0.14.2-1

Here you can find my mpd.conf: http://pastebin.org/904

Last edited by Barghest (2009-07-10 12:43:38)

Offline

#4 2009-07-10 21:56:00

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Wesnoth: no sound when mpd is playing

Does it work with other games and stuffs ? Can you tri out with socked-based config ?

Offline

#5 2009-07-11 12:18:54

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Wesnoth: no sound when mpd is playing

The only other game I have is World of Goo and when I play this, I have mpd and in game sound. I can use vlc and mpd together, too.

Em, what do you mean with "socked-based config"?

Offline

#6 2009-07-11 16:13:14

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Wesnoth: no sound when mpd is playing

with bind_to_address line.

man mpd.conf, and you can see the example in /etc/ too

Offline

#7 2009-07-14 16:52:37

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Wesnoth: no sound when mpd is playing

Tried bind_to_address   "/var/run/mpd/socket" but with tha mpd didn't work (port error)

According to the wiki dmix is enabled by default so there should be no problem with multiple apss :confused:

Offline

#8 2009-08-11 14:55:11

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Wesnoth: no sound when mpd is playing

Additional information:

Also youtube plays no sound when wesnoth is running (and vice versa)

Offline

#9 2009-08-12 08:31:42

Babets
Member
Registered: 2008-02-07
Posts: 47

Re: Wesnoth: no sound when mpd is playing

If i remember, it's an openal configuration problem, you have to set openal to use alsa or sdl because at default it uses oss.
Take a look here: http://icculus.org/lgfaq/#setopenaldrvr

Last edited by Babets (2009-08-12 08:36:06)

Offline

Board footer

Powered by FluxBB