Hello,

I'm having a problem with sound in FlightGear 0.9.8. When I rename my .asoundrc to .asoundrc-bak, fgfs works fine and sounds great. But when I try to use my .asoundrc I get line after line of "native_blitbuffer: select error occured" and intermittent sound (kind of a stuttering sound).

I'm using Gentoo Linux 2005.0 with kernel 2.6.11-gentoo-r11, alsa 1.0.8, and openal-20050504.

My .asoundrc as follows:
[code]
pcm.!default {
  type plug
  slave.pcm "dmix"
}

pcm.dsp0 {
   type plug
   slave.pcm "dmix"
}

ctl.mixer0 {
   type hw
   card 0
}
[/code]

And my /etc/modules.d/alsa as follows:
[code]
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your
specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc
for more info.
##
##  ALSA portion
alias snd-card-0 snd-emu10k1x
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
[/code]

I followed this guide [url] http://www.gentoo.org/doc/en/alsa-guide.xml [/url] to set up alsa and I followed this guide [url] http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix [/url] to set up the dmix (and hence the .asoundrc) in alsa.

Audio mixing works great with other applications like XMMS, GAIM, and RealPlayer.

I tried putting AOSS in front (aoss fgfs), but that didn't work.

Any help appreciated.


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to