Displaying 3 results from an estimated 3 matches for "pflac".
Did you mean:
flac
2004 Nov 10
4
Legal sample rates
Hi all,
I'm trying to use the FLAC C libraries to encode audio.
I'm doing something like:
FLAC__seekable_stream_encoder_set_channels(pflac->fse, 1);
FLAC__seekable_stream_encoder_set_sample_rate(pflac->fse, 11025);
FLAC__seekable_stream_encoder_set_bits_per_sample(pflac->fse, 8);
if ((bps = FLAC__seekable_stream_encoder_init(pflac->fse)) != FLAC__SEEKABLE_STREAM_DECODER_OK)
{ printf ("Error : FLAC encoder ini...
2004 Nov 10
0
Legal sample rates
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> Hi all,
>
> I'm trying to use the FLAC C libraries to encode audio.
>
> I'm doing something like:
>
> FLAC__seekable_stream_encoder_set_channels(pflac->fse, 1);
> FLAC__seekable_stream_encoder_set_sample_rate(pflac->fse, 11025);
> FLAC__seekable_stream_encoder_set_bits_per_sample(pflac->fse, 8);
>
> if ((bps = FLAC__seekable_stream_encoder_init(pflac->fse)) !=
> FLAC__SEEKABLE_STREAM_DECODER_OK)
> { printf (...
2008 May 06
2
Flac-dev Digest, Vol 45, Issue 2
...ederick in that the existing encoding API was obviously designed for serial execution, and any internal
threading support would be messy. We had to come up with quite a few tricks to modify as little of libFLAC as possible.
Project report, patches and example encoder: http://rhubarbtech.com/things/pflac.tar.gz
Chris Peplin