]> git.mxchange.org Git - flightgear.git/blob - docs-mini/README.sound
7e2272cecb66cc06cabd4a8d4cb5392780d24d90
[flightgear.git] / docs-mini / README.sound
1
2 ALSA and Arts
3 -------------------------------------
4
5 I'm using kernel 2.6.5 with alsa, my sound module is snd-intel8x0. When I ran
6 fgfs, I'd get quite 'choppy' sound (wasn't smooth, there'd be a couple of
7 breaks in the sound every second or so). Running arts, and starting fgfs with
8 "artsdsp fgfs" (from the artsdsp website: "When an application is run under
9 artsdsp all accesses to the /dev/dsp audio device are intercepted and mapped
10 into aRts API calls. While the device emulation is not perfect, most
11 applications work this way, albeit with some degradation in performance and
12 latency.") would improve the situation, but it seemed to still be choppy.
13
14 This command:
15 echo "fgfs 0 0 direct" >/proc/asound/card0/pcm0p/oss
16
17 (from the alsa kernel OSS emulation website:
18   "The direct option is used, as mentioned above, to bypass the automatic
19    conversion and useful for MMAP-applications")
20
21 made my sound work beautifully when fgfs was run with artsdsp. Running without
22 artsdsp however (with artsd suspended or killed), would give me no sound at all
23 (which I find a bit strange)
24
25 The following websites might help people with similar troubles:
26 http://www.alsa-project.org/~iwai/OSS-Emulation.html
27 http://www.arts-project.org/doc/handbook/artsdsp.html
28
29 Computer info:
30
31 kernel 2.6.5
32
33 flightgear 0.9.4
34 simgear 0.3.5
35 plib 1.8.3
36
37 soundcard is onboard an asus p4p800-e deluxe mobo (using snd-intel8x0), alsa, related modules from lsmod:
38 Module                  Size  Used by
39 snd_pcm_oss            53252  1
40 snd_mixer_oss          19968  1 snd_pcm_oss
41 snd_intel8x0           33476  1
42 snd_ac97_codec         63492  1 snd_intel8x0
43 snd_pcm                97408  2 snd_pcm_oss,snd_intel8x0
44 snd_timer              26112  1 snd_pcm
45 snd_page_alloc         11396  2 snd_intel8x0,snd_pcm
46 snd_mpu401_uart         7936  1 snd_intel8x0
47 snd_rawmidi            24832  1 snd_mpu401_uart
48 snd_seq_device          8324  1 snd_rawmidi
49 snd                    53892  9 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
50 soundcore              10208  2 snd