You are not logged in.

#1 2009-10-31 18:51:30

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

No sound in Flightgear

There is no sound in Flightgear. I'm using OSS, and sound is working fine except in Flightgear. I assume Flightgear want to use ALSA. So is there a way to make Flightgear use OSS. Or is it Openal that needs to use OSS. Have tested with the following .openalrc file. Any ideas?

# Contains user settings for OpenAL
# Goes in ~/.openalrc

# Use OSS
(define devices '(dsp))

(define speaker-num 2)
(define lin-dsp-path "/dev/dsp1")

This is the error that I get.

AL lib: alsa.c:907: no playback cards found...
AL lib: alsa.c:981: no capture cards found...
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: alsa.c:384: Could not open playback device 'default': No such file or directory

Ørjan Pettersen

Offline

Board footer

Powered by FluxBB