Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11676) civclient and ALSA plugin
Home

[Freeciv-Dev] (PR#11676) civclient and ALSA plugin

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11676) civclient and ALSA plugin
From: "Jorge López Pérez" <jorge@xxxxxxxxx>
Date: Fri, 24 Dec 2004 03:27:35 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11676 >

Hi, 
 I'm using freeciv 2.0-beta5 on Slackware 10.0. I have tried the ALSA
 plugin within civcliente (civclient -P alsa), but it seems to be a
 problem with it.

 I can run civclient with ALSA plugin, and I hear an initial background
 music. But when I start a game, I get the following error:
 
  1: ALSA: MMAP begin: File descriptor in bad state
  civclient: pcm.c:798: snd_pcm_hw_free: Assertion `pcm->setup' failed.
  Aborted
 
 There are no other applications with problems like this. I have tried
 running MPlayer, XMMS and ogg123 with their corresponding alsa plugin,
 and I haven't got any problems like this.

 My ~/.asoundrc:

        pcm.!default {
                type plug
                slave.pcm "nforce"
        }

        pcm.nforce {
                type dmix
                ipc_key 1024
                slave {
                        pcm "hw:0,0"
                        period_time 0
                        period_size 1024
                        buffer_size 4096
                        rate 48000
                }
        }

        pcm.dsp {
                type plug
                slave.pcm "nforce"
        }

        ctl.mixer {
                type hw
                card 0
        }

 I'm running 2.6.9 vanilla kernel from kernel.org, which seems to run
 ALSA 1.0.5. I have OSS emulation enabled. With 'sdl' sound plugin I
 have no problems.
 
 And that's all.

 Regards,

  Jorge.
-- 
jabber: jorge@xxxxxxxxxxxx  | «I can't uninstall it, there seems to be
icq: 114276336              |  some kind of "Uninstall Shield"»
http://adobo.org            |                           - Anonymous





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11676) civclient and ALSA plugin, Jorge López Pérez <=