Displaying 4 results from an estimated 4 matches for "s8buffer".
Did you mean:
buffer
2014 Jun 26
1
Lets work towards a new version
...ijn van Beurden wrote:
> Like I reported just before the release of 1.3.0 (mail of Fri,
> 05 Apr 2013 08:25:10 +0200, to be 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...
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++
...the right format, or do I have to 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++) {...
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