Displaying 2 results from an estimated 2 matches for "output_file_descriptor".
2006 Jun 17
3
Assistance with an encoding plugin
...in for a personal cd ripping
project of mine which uses paranoia for the raw audio extraction. My
basic setup which follows gets me oddly high pitched audio with lots of
noise (although the music IS somewhat recognizable).
#include <FLAC/stream_encoder.h>
FLAC__StreamEncoder *encoder;
FILE *output_file_descriptor;
encoder = FLAC__stream_encoder_new();
FLAC__stream_encoder_set_write_callback(plugin->encoder, write_callback);
FLAC__stream_encoder_set_metadata_callback(plugin->encoder,
metadata_callback);
FLAC__stream_encoder_set_client_data(plugin->encoder,
output_file_descriptor);
FLAC__stream_enc...
2006 Jun 19
0
Assistance with an encoding plugin
...;project of mine which uses paranoia for the raw audio extraction. My
>basic setup which follows gets me oddly high pitched audio with lots of
>noise (although the music IS somewhat recognizable).
>
>#include <FLAC/stream_encoder.h>
>
>FLAC__StreamEncoder *encoder;
>FILE *output_file_descriptor;
>
>encoder = FLAC__stream_encoder_new();
>
>FLAC__stream_encoder_set_write_callback(plugin->encoder, write_callback);
>FLAC__stream_encoder_set_metadata_callback(plugin->encoder,
>metadata_callback);
>FLAC__stream_encoder_set_client_data(plugin->encoder,
>output_fi...