search for: flac__seekable_stream_encoder_init

Displaying 2 results from an estimated 2 matches for "flac__seekable_stream_encoder_init".

2004 Nov 10
4
Legal sample rates
...ng 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 init returned error : %s\n", FLAC__SeekableStreamEncoderStateString [bps]); exit (1); } and I'm triggering the error message, but the most information I can get from the FL...
2004 Nov 10
0
Legal sample rates
...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 init returned error : %s\n", > FLAC__SeekableStreamEncoderStateString [bps]); > exit (1); > } > > and I'm triggering the error message, but the mos...