search for: flac__max_channels

Displaying 13 results from an estimated 13 matches for "flac__max_channels".

2014 Jun 26
1
Lets work towards a new version
...e specific), compiling on > Raspbian (Debian Wheezy, GCC 4.6) returns quite some warnings of > the type -Wcast-align. What happens if you change the definitions of s8buffer[] and ucbuffer_[] arrays as follows: static __attribute__((__aligned__(4))) FLAC__int8 s8buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int32)]; static __attribute__((__aligned__(4))) unsigned char ucbuffer_[CHUNK_OF_SAMPLES*FLAC__MAX_CHANNELS*((FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE+7)/8)]; ?
2014 Jun 29
6
FIxed rest of cast-align warnings
Hi all, In commit 3eb4094b859 I think I have fixed all the cast-align warnings. I have tested this in amd64/Linux (little endian) and powerpc64/Linux (big endian) and it passed all tests (including the new MD5 tests). I also did a little performance testing on amd64/Linux with a one hour long stereo WAV file and could not find any mesasurable difference between the old and the new code. I
2014 Jun 30
1
FIxed rest of cast-align warnings
lvqcl wrote: > Erik de Castro Lopo wrote: > > >> FLAC__int16 s16buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int32)/sizeof(FLAC__int16)]; > >> > >> instead of > >> > >> FLAC__int16 s16buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int16)]; > > > > Really? Would you also write this? : > > > > FLAC__int32 s32buffer[F...
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to get it. Here's what I have: -a new file, lpc_asm.s, which has the assembly routines -changes to cpu.h, cpu.c, and stream_decoder.c to enable them -changes to configure.in to support the new cpu stuff -a preliminary Makefile.am -maybe something else I'm forgetting Now automake complains that configure.in
2004 Sep 10
2
Altivec, automake
...rder, int lp_quantization, FLAC__int32 data[]); void (*local_lpc_restore_signal_16bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); void *client_data; FLAC__BitBuffer *input; FLAC__int32 *output[FLAC__MAX_CHANNELS]; ! FLAC__int32 *residual[FLAC__MAX_CHANNELS]; FLAC__EntropyCodingMethod_PartitionedRiceContents partitioned_rice_contents[FLAC__MAX_CHANNELS]; unsigned output_capacity, output_channels; FLAC__uint32 last_frame_number; --- 101,111 ---- void (*local_lpc_restore_signal)(const FLAC__int32...
2014 May 10
1
PATCH for replaygain_synthesis
...c.exe crashes if I try to decode multichannel flac file with RG tags using the following command line: flac.exe -d --apply-replaygain-which-is-not-lossless test_6ch.flac The code in replaygain_synthesis project uses FLAC_SHARE__MAX_SUPPORTED_CHANNELS which is equal to 2. The fix just changes 2 to FLAC__MAX_CHANNELS. -------------- next part -------------- A non-text attachment was scrubbed... Name: rg_crash.patch Type: application/octet-stream Size: 517 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140510/ca274b1b/attachment.obj
2005 Mar 17
2
More than 8 channels possible?
...the SourceForge archive search didn't turn up anything. 1. Would it be possible for FLAC to support more than 8 channels? 2. If (1) is not desirable because it would break compatibility or some such, then is it possible to build a local copy supporting more channels by simply increasing FLAC__MAX_CHANNELS in include/FLAC/format.h? Either of these would greatly help in reducing the storage requirements for recording sessions. As I am not subscribed to the list a Cc: would be appreciated. Thanks again. Pascal.
2004 Sep 10
2
Using libFLAC++
samples in FLAC are always signed. they must be signed going into the encoder (flac converts unsigned samples to signed) and they come out of the decoder signed. Josh --- David Bishop <tech@bishop.dhs.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Followup to original question: how do I determine if a particular > flac file is > signed (and then, if
2004 Sep 10
0
Using libFLAC++
...o do some sort of conversion? This code is ripped almost directly from decode.c in flac/, just heavily cut down to deal with only 1 type of file (i.e., I'm not dealing with differing endianess right now). [this code is in my write callback] static FLAC__int8 s8buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int32)]; FLAC__int16 *s16buffer = (FLAC__int16 *)s8buffer; if( wide_samples > 0 ) { for(sample = wide_sample = 0; wide_sample < wide_samples; wide_sample++) { for(channel = 0; channel < channels; channel++, sample++) { s16buffer[sample] = (FLAC__in...
2005 Mar 31
0
More than 8 channels possible?
...n't > turn up anything. > > 1. Would it be possible for FLAC to support more than 8 channels? > 2. If (1) is not desirable because it would break compatibility or > some > such, then is it possible to build a local copy supporting more > channels by simply increasing FLAC__MAX_CHANNELS in > include/FLAC/format.h? > > Either of these would greatly help in reducing the storage > requirements for recording sessions. the channel grouping is mainly to take advantage of interchannel correlations. see also the FAQ: http://flac.sourceforge.net/faq.html#general__chann...
2005 Mar 31
0
Re: More than 8 channels possible?
...lloughby Sound Consulting Begin forwarded message: Hello, 1. Would it be possible for FLAC to support more than 8 channels? 2. If (1) is not desirable because it would break compatibility or some such, then is it possible to build a local copy supporting more channels by simply increasing FLAC__MAX_CHANNELS in include/FLAC/format.h? Either of these would greatly help in reducing the storage requirements for recording sessions. Thanks again. Pascal.
2014 Jun 19
10
Lets work towards a new version
Hi all, It sees that the most serious bug in the flac bug tracker: https://sourceforge.net/p/flac/bugs/413/ has been fixed in git. This fix alone is worth a new release so its time to work towards one. Things I need to do for this new release: * Deal with all current patches on the mailing list. * Review all bugs reported against 1.3.0 on the sf.net. * Testing and coordination of testing
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...efined(HAVE_OPENSSL) + EVP_MD_CTX_init(&decoder->private_->md5context); +#endif decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED; return decoder; @@ -346,7 +348,9 @@ FLAC_API void FLAC__stream_decoder_delete(FLAC__StreamDecoder *decoder) for(i = 0; i < FLAC__MAX_CHANNELS; i++) FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(&decoder->private_->partitioned_rice_contents[i]); - +#if defined(HAVE_OPENSSL) + EVP_MD_CTX_cleanup(&decoder->private_->md5context); +#endif free(decoder->private_); free(decoder->protected...