remove prebuffering from RageSound; let Preload handle it

This commit is contained in:
Glenn Maynard
2003-03-15 23:55:24 +00:00
parent 187aee0a05
commit bbf8067551
4 changed files with 18 additions and 77 deletions
@@ -5,6 +5,7 @@ const int channels = 2;
const int samplesize = 2 * channels; /* 16-bit */
const int samplerate = 44100;
/* If a sound is smaller than this, we'll load it entirely into memory. */
const int max_prebuf_size = 1024*256;
int SoundReader_Preload::total_samples() const