• Home
  • Raw
  • Download

Lines Matching refs:outfile

50 sfe_copy_data_fp (SNDFILE *outfile, SNDFILE *infile, int channels, int normalize)  in sfe_copy_data_fp()  argument
64 sf_writef_double (outfile, data, readcount) ; in sfe_copy_data_fp()
78 sf_writef_double (outfile, data, readcount) ; in sfe_copy_data_fp()
86 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int() argument
95 sf_writef_int (outfile, data, readcount) ; in sfe_copy_data_int()
105 merge_broadcast_info (SNDFILE * infile, SNDFILE * outfile, int format, const METADATA_INFO * info) in merge_broadcast_info() argument
135 { if (infile == outfile) in merge_broadcast_info()
197 if (sf_command (outfile, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info()
206 update_strings (SNDFILE * outfile, const METADATA_INFO * info) in update_strings() argument
209 sf_set_string (outfile, SF_STR_TITLE, info->title) ; in update_strings()
212 sf_set_string (outfile, SF_STR_COPYRIGHT, info->copyright) ; in update_strings()
215 sf_set_string (outfile, SF_STR_ARTIST, info->artist) ; in update_strings()
218 sf_set_string (outfile, SF_STR_COMMENT, info->comment) ; in update_strings()
221 sf_set_string (outfile, SF_STR_DATE, info->date) ; in update_strings()
224 sf_set_string (outfile, SF_STR_ALBUM, info->album) ; in update_strings()
227 sf_set_string (outfile, SF_STR_LICENSE, info->license) ; in update_strings()
235 { SNDFILE *infile = NULL, *outfile = NULL ; in sfe_apply_metadata_changes() local
244 infile = outfile = sf_open (filenames [0], SFM_RDWR, &sfinfo) ; in sfe_apply_metadata_changes()
250 outfile = sf_open (filenames [1], SFM_WRITE, &sfinfo) ; in sfe_apply_metadata_changes()
259 if (outfile == NULL) in sfe_apply_metadata_changes()
260 …{ printf ("Error : Not able to open output file '%s' : %s\n", filenames [1], sf_strerror (outfile)… in sfe_apply_metadata_changes()
265 if (info->has_bext_fields && merge_broadcast_info (infile, outfile, sfinfo.format, info)) in sfe_apply_metadata_changes()
270 if (infile != outfile) in sfe_apply_metadata_changes()
275 { if (sfe_copy_data_fp (outfile, infile, sfinfo.channels, SF_FALSE) != 0) in sfe_apply_metadata_changes()
282 sfe_copy_data_int (outfile, infile, sfinfo.channels) ; in sfe_apply_metadata_changes()
285 update_strings (outfile, info) ; in sfe_apply_metadata_changes()
289 if (outfile != NULL && outfile != infile) in sfe_apply_metadata_changes()
290 sf_close (outfile) ; in sfe_apply_metadata_changes()