Mercurial > audlegacy-plugins
changeset 996:34da98fd7d26 trunk
[svn]
- Fix alternative code path in flac_write
author | ertzing |
---|---|
date | Tue, 01 May 2007 10:38:27 -0700 |
parents | 73f5e44d20d2 |
children | e46b98155d5d |
files | ChangeLog src/filewriter/flac.c |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue May 01 08:54:31 2007 -0700 +++ b/ChangeLog Tue May 01 10:38:27 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-01 15:54:31 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2130] + - add tuple handling, but i don't think i'm doing it right... + + trunk/src/filewriter/flac.c | 32 +++++++++++++++++++++++++++++++- + 1 file changed, 31 insertions(+), 1 deletion(-) + + 2007-05-01 15:33:07 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2128] - use my version for now as r2126 does not work
--- a/src/filewriter/flac.c Tue May 01 08:54:31 2007 -0700 +++ b/src/filewriter/flac.c Tue May 01 10:38:27 2007 -0700 @@ -158,11 +158,11 @@ encbuffer = g_new0(FLAC__int32, length); - for (i=0; i < (length/2); i++) { + for (i=0; i < length; i++) { encbuffer[i] = tmpdata[i]; } - FLAC__stream_encoder_process_interleaved(flac_encoder, encbuffer, (length/2)); + FLAC__stream_encoder_process_interleaved(flac_encoder, encbuffer, length); olen += length; g_free(encbuffer);