Author Topic: Choppy music  (Read 6314 times)

Jamesgamer

  • Guest
Choppy music
« on: 2 February 2008, 21:51:31 »
When i start glest, the music has a minor break about once per second.

Perhaps i could fix it with....

FastSpeedLoops=2
SoundStaticBuffers=16
SoundStreamingBuffers=4

What do these do? could they help fix the choppiness?
« Last Edit: 1 January 1970, 00:00:00 by Jamesgamer »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 on: 2 February 2008, 21:53:19 »
FastSpeedLoops=2

this has nothing to do with music, it is how quick the fast speed in the game is

SoundStaticBuffers=16

this is the number of buffers for static sounds

SoundStreamingBuffers=4

this is the number of streaming buffers (used for music and long effects like rain and wind)

I don't think you ca fix it by changing any of it, i think you have a problem with the sound card drivers
« Last Edit: 1 January 1970, 00:00:00 by martiño »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
(No subject)
« Reply #2 on: 8 February 2008, 12:34:03 »
I also had this problem with Ubuntu 7.10!
I ( and many others) thought that this is a linux driver problem of the mainboard!

I know two mainboards who have this problem:
Asrock ALiveNF7G HDready ( AMD AM2 board)
and  ( I think it was ) ASUS M2N-VM (AMD AM2 board).

Anybody else has these sound problems? Please post it here ( and please post your mainboard name / linux distribution name  too )

Is it a driver problem or is it a glest problem?
« Last Edit: 1 January 1970, 00:00:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ttsmj

  • Guest
(No subject)
« Reply #3 on: 11 February 2008, 19:15:26 »
music works okay in other games like wesnoth?
« Last Edit: 1 January 1970, 00:00:00 by ttsmj »

matheos

  • Guest
(No subject)
« Reply #4 on: 15 February 2008, 20:25:46 »
i've got that problem to! i have an asus a7n8x-e deluxe ... noproblem with the sound in wesnoth....
« Last Edit: 1 January 1970, 00:00:00 by matheos »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
(No subject)
« Reply #5 on: 15 February 2008, 21:59:34 »
Please try to start the game nexuiz, does this have this problem too?
« Last Edit: 1 January 1970, 00:00:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

weedkiller

  • Draco Rider
  • *****
  • Posts: 277
    • View Profile
(No subject)
« Reply #6 on: 16 February 2008, 07:12:46 »
Hi, i have this sound problem too with sidux(KDE-7.10).
In Savage theres no problem with sound but i don't know if they both use the same sound driver(ALSA ... ?).

It is a medion(Aldi-) PC, maybe i can find mainboardnb with everest in win.
The sound-failure reminds me as i tried to run c&c1 under wine. I tried several configurations and some where better than others but none realy errorless.

OK, not realy a hint, but i don't think it is a problem with some individual mainboard.
« Last Edit: 1 January 1970, 00:00:00 by weedkiller »

theotherhiveking

  • Guest
(No subject)
« Reply #7 on: 16 February 2008, 13:52:11 »
I noticed it too, The sound works fine in every other game and sound file i tried. wesnoth open arena, urban terror....
« Last Edit: 1 January 1970, 00:00:00 by theotherhiveking »

MatzeB

  • Guest
(No subject)
« Reply #8 on: 16 February 2008, 13:58:44 »
Try fiddeling around with your openal configuration (forcing the alsa backend or other bitrates often helps):
http://supertux.lethargik.org/wiki/OpenAL_Configuration
« Last Edit: 1 January 1970, 00:00:00 by MatzeB »

weedkiller

  • Draco Rider
  • *****
  • Posts: 277
    • View Profile
(No subject)
« Reply #9 on: 16 February 2008, 19:41:15 »
I got one working solution for KDE 7.10 (sidux)
i think it will work also on all similar debian ubuntu/kubunte whatever.

the config is found there:

"/etc/openalrc"

you must be root to change it and make a copy like "openalrc.ORIG"

my entry:

(define devices '(dsp))
(define alsa-device "default")
(define speaker-num 2)
(define sampling-rate 44100)
« Last Edit: 1 January 1970, 00:00:00 by weedkiller »

matheos

  • Guest
(No subject)
« Reply #10 on: 19 February 2008, 18:29:13 »
I confirm!

changing "alsa" for "dsp" in /etc/openalrc resolve the problem....
but maybe the problem must be correct in the game and not in the config file since the problem appear only in this game...(wesnoth and nexuiz work well)
« Last Edit: 1 January 1970, 00:00:00 by matheos »