[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>
This commit is contained in:
parent
f4bbeaec77
commit
58be4a40fc
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue