diff options
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 | ||||
-rw-r--r-- | alsoftrc.sample | 8 |
2 files changed, 9 insertions, 7 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index ef8181e4..a8c7f3cd 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -80,10 +80,10 @@ class AmbiUpsampler; struct bs2b; -#define DEFAULT_UPDATE_SIZE (1024) -#define DEFAULT_NUM_UPDATES (3) -#define DEFAULT_OUTPUT_RATE (44100) -#define MIN_OUTPUT_RATE (8000) +#define MIN_OUTPUT_RATE 8000 +#define DEFAULT_OUTPUT_RATE 44100 +#define DEFAULT_UPDATE_SIZE 882 /* 20ms */ +#define DEFAULT_NUM_UPDATES 3 enum Channel { diff --git a/alsoftrc.sample b/alsoftrc.sample index 1c1e113d..10a59a1f 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -72,9 +72,11 @@ #frequency = ## period_size: -# Sets the update period size, in frames. This is the number of frames needed -# for each mixing update. Acceptable values range between 64 and 8192. -#period_size = 1024 +# Sets the update period size, in sample frames. This is the number of frames +# needed for each mixing update. Acceptable values range between 64 and 8192. +# If left unspecified it will default to 1/50th of the frequency (20ms, or 882 +# for 44100, 960 for 48000, etc). +#period_size = ## periods: # Sets the number of update periods. Higher values create a larger mix ahead, |