[FLAC Decoder] Change maximum buffer size
This should be more correct, especially considering that the library can handle 32 bit files now. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
273cdef6b9
commit
1713e0df7c
|
@ -10,8 +10,7 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#define SAMPLES_PER_WRITE 512
|
||||
#define FLAC__MAX_SUPPORTED_CHANNELS 8
|
||||
#define SAMPLE_blockBuffer_SIZE ((FLAC__MAX_BLOCK_SIZE + SAMPLES_PER_WRITE) * FLAC__MAX_SUPPORTED_CHANNELS * (24 / 8))
|
||||
#define SAMPLE_blockBuffer_SIZE ((FLAC__MAX_BLOCK_SIZE + SAMPLES_PER_WRITE) * FLAC__MAX_CHANNELS * (FLAC__MAX_BITS_PER_SAMPLE / 8))
|
||||
|
||||
#import "Plugin.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue