Mancubus
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Can't change audio_buffers. Using system.cfg
 
Author
All times are GMT. The time now is 15:40. Post New Thread    Post A Reply
Holering
Member


Posts: 308
Registered: 01-03


Using
code:
[1024-8192(2048)] SDL_mixer audio buffer size audio_buffers 1024
in system.cfg

and eternity gives
code:
I_InitSound: Configured audio device with 2048 samples/slice.


Tried audio_buffers 512 but no change. Getting over one second sound lag.

Looked in i_sdlsound.cpp for settings but couldn't find anything.

Eternity r2886

Last edited by Holering on 02-21-14 at 11:09

Old Post 02-21-14 09:39 #
Holering is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5989
Registered: 08-00



Holering said:
Using
code:
[1024-8192(2048)] SDL_mixer audio buffer size audio_buffers 1024
in system.cfg

and eternity gives
code:
I_InitSound: Configured audio device with 2048 samples/slice.


Tried audio_buffers 512 but no change. Getting over one second sound lag.

Looked in i_sdlsound.cpp for settings but couldn't find anything.

Eternity r2886


512 is not an allowed value, as clearly indicated in the config comment [min-max(default)].

Making the audio buffers value too small will cause the audiospec callback to be dispatched too often. This will cause disruption of audio timing. I highly suggest this value not be changed unless you are experiencing skipping audio for some reason.

1024 should be working on the other hand. Please try it again. However it will not necessarily affect any problems you are having. If the setting is still not saved, then there's a problem.

Old Post 02-21-14 17:54 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Holering
Member


Posts: 308
Registered: 01-03


4096 and higher doesn't change anything. I still get :
code:
I_InitSound: Configured audio device with 2048 samples/slice.
no matter what... Sdl-1.2.15 with hardware mixing (alsa) BTW.

EDIT:
There a command line option?

Last edited by Holering on 02-23-14 at 04:05

Old Post 02-23-14 02:10 #
Holering is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5989
Registered: 08-00



Holering said:
4096 and higher doesn't change anything. I still get :
code:
I_InitSound: Configured audio device with 2048 samples/slice.
no matter what... Sdl-1.2.15 with hardware mixing (alsa) BTW.

EDIT:
There a command line option?


Are you sure you are editing the system.cfg that Eternity is actually using? The last time somebody had a similar problem it turned out that EE was seeing a different /user folder somewhere else. Pay careful attention to the location that it states it is using at startup.

Old Post 02-23-14 04:22 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Holering
Member


Posts: 308
Registered: 01-03


Going to double check...

ETERNITYBASE="/home/user/.eternity/base" and my system.cfg is "/home/user/.eternity/base/system.cfg". If I don't set ETERNITYBASE then I get the usual error about BASEPATH not found. Only other copy of system.cfg might be in "/usr/share/games/doom/base" (don't know if one actually exists there)...

Thanks

EDIT:
You were right Quasar (figures). Eternity was using /home/user/.config/eternity/user/base instead of $ETERNITYBASE. I guess /home/user/.config/eternity/user/base is hard coded into Eternity now (or has been)? Thought I remember mention of that sometime ago IIRC... So I'll just make sure to only use /home/user/.config/eternity/user/base for everything.

Shouldn't ETERNITYBASE check be removed if it doesn't use what's specified? Why bother checking if it's going to use one particular path only? Am I overlooking something?

Last edited by Holering on 02-23-14 at 23:14

Old Post 02-23-14 04:35 #
Holering is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5989
Registered: 08-00


For the user dir to be specified through environment, you need to set ETERNITYUSER as well. This is because /user and /base can be in totally different locations.

Old Post 02-24-14 05:31 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Holering
Member


Posts: 308
Registered: 01-03


Is it possible you could let users go below 1024 buffer size?

Last edited by Holering on 02-28-14 at 20:24

Old Post 02-27-14 03:36 #
Holering is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 15:40. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Can't change audio_buffers. Using system.cfg

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.