Holering Posted February 21, 2014 Using [1024-8192(2048)] SDL_mixer audio buffer size audio_buffers 1024 in system.cfg and eternity gives 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 0 Share this post Link to post
Quasar Posted February 21, 2014 Holering said:Using [1024-8192(2048)] SDL_mixer audio buffer size audio_buffers 1024 in system.cfg and eternity gives 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. 0 Share this post Link to post
Holering Posted February 23, 2014 4096 and higher doesn't change anything. I still get : 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? 0 Share this post Link to post
Quasar Posted February 23, 2014 Holering said:4096 and higher doesn't change anything. I still get : 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. 0 Share this post Link to post
Holering Posted February 23, 2014 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? 0 Share this post Link to post
Quasar Posted February 24, 2014 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. 0 Share this post Link to post
Holering Posted February 27, 2014 Is it possible you could let users go below 1024 buffer size? 0 Share this post Link to post