Lines Matching refs:gf
131 lame_main(lame_t gf, int argc, char **argv)
177 lame_set_errorf(gf, &frontend_errorf);
178 lame_set_debugf(gf, &frontend_debugf);
179 lame_set_msgf(gf, &frontend_msgf);
183 * struct pointed to by 'gf'. If you want to parse your own arguments,
185 * skip this call and set the values of interest in the gf struct.
196 parse_args(gf, argc_mod, argv_mod, inPath, outPath, NULL, NULL);
200 /* open the output file. Filename parsed into gf.inPath */
214 * open the file with name gf.inFile, try to parse the headers and
215 * set gf.samplerate, gf.num_channels, gf.num_samples.
219 if (init_infile(gf, inPath) < 0) {
230 ret = lame_init_params(gf);
241 lame_print_config(gf); /* print useful information about options being used */
247 while ((wavsamples = get_audio(gf, Buffer)) > 0) { /* read in 'wavsamples' samples */
249 mp3bytes = lame_encode_buffer_int(gf, /* encode the frame */
256 mp3bytes = lame_encode_flush(gf, /* may return one or more mp3 frame */
261 lame_mp3_tags_fid(gf, outf); /* add VBR tags to mp3 file */