Mercurial > audlegacy-plugins
changeset 2244:1268886f37ee
flacng: write only 1024 samples at a time to allow visualization plugins to work more efficiently.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 16 Dec 2007 13:27:33 -0600 |
parents | 6907fc39b53f |
children | 0edf1cb262c0 |
files | src/flacng/flacng.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/flacng/flacng.h Fri Dec 07 12:13:37 2007 -0600 +++ b/src/flacng/flacng.h Sun Dec 16 13:27:33 2007 -0600 @@ -25,7 +25,7 @@ #include <audacious/main.h> #include <audacious/i18n.h> -#define OUTPUT_BLOCK_SIZE (8192u) +#define OUTPUT_BLOCK_SIZE (1024u) #define MAX_SUPPORTED_CHANNELS (2u) #define BUFFER_SIZE_SAMP (FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS) #define BUFFER_SIZE_BYTE (BUFFER_SIZE_SAMP * (FLAC__MAX_BITS_PER_SAMPLE/8))