Smaller audio ram cache blocksize

Originally committed to SVN as r26.
This commit is contained in:
Fredrik Mellbin 2006-01-25 10:56:24 +00:00
parent e2af348af5
commit 87ac27af9a

View file

@ -54,6 +54,9 @@ extern "C" {
int AudioProvider::pa_refcount = 0;
#define CacheBits ((22))
#define CacheBlockSize ((1 << CacheBits))
//////////////
// Constructor
AudioProvider::AudioProvider(wxString _filename, AudioDisplay *_display) {
@ -202,8 +205,6 @@ void AudioProvider::LoadFromClip(AVSValue _clip) {
/////////////
// RAM Cache
void AudioProvider::ConvertToRAMCache(PClip &tempclip) {
#define CacheBits ((24))
#define CacheBlockSize ((1 << CacheBits))
// Allocate cache
__int64 ssize = num_samples * bytes_per_sample;