Home
last modified time | relevance | path

Searched refs:SNDFILE (Results 1 - 25 of 70) sorted by relevance

123

/third_party/libsnd/include/
H A Dsndfile.h357 /* A SNDFILE* pointer can be passed around much like stdio.h's FILE* pointer. */
359 typedef struct sf_private_tag SNDFILE ; typedef
590 ** return a NULL pointer. To find the error number, pass a NULL SNDFILE
595 SNDFILE* sf_open (const char *path, int mode, SF_INFO *sfinfo) ;
598 /* Use the existing file descriptor to create a SNDFILE object. If close_desc
605 ** NULL SNDFILE to sf_strerror ().
610 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
612 SNDFILE* sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) ;
619 int sf_error (SNDFILE *sndfile) ;
623 ** the given SNDFILE
[all...]
H A Dsndfile.hh74 SNDFILE *sf ;
154 SNDFILE * rawHandle (void) ;
157 SNDFILE * takeOwnership (void) ;
410 inline SNDFILE *
414 inline SNDFILE *
420 SNDFILE * sf = p->sf ; in takeOwnership()
/third_party/libsnd/programs/
H A Dsndfile-concat.c45 static void concat_data_fp (SNDFILE *wfile, SNDFILE *rofile, int channels) ;
46 static void concat_data_int (SNDFILE *wfile, SNDFILE *rofile, int channels) ;
70 SNDFILE *outfile, **infiles ; in main()
72 void (*func) (SNDFILE*, SNDFILE*, int) ; in main()
86 if ((infiles = calloc (argc, sizeof (SNDFILE*))) == NULL) in main()
136 concat_data_fp (SNDFILE *wfile, SNDFILE *rofil
[all...]
H A Dcommon.h70 int sfe_copy_data_fp (SNDFILE *outfile, SNDFILE *infile, int channels, int normalize) ;
72 void sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) ;
H A Dcommon.c50 sfe_copy_data_fp (SNDFILE *outfile, SNDFILE *infile, int channels, int normalize) in sfe_copy_data_fp()
86 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int()
105 merge_broadcast_info (SNDFILE * infile, SNDFILE * outfile, int format, const METADATA_INFO * info) in merge_broadcast_info()
206 update_strings (SNDFILE * outfile, const METADATA_INFO * info) in update_strings()
235 { SNDFILE *infile = NULL, *outfile = NULL ; in sfe_apply_metadata_changes()
H A Dsndfile-metadata-get.c49 static void process_args (SNDFILE * file, const SF_BROADCAST_INFO_2K * binfo, int argc, char * argv []) ;
53 { SNDFILE *file ; in main()
134 process_args (SNDFILE * file, const SF_BROADCAST_INFO_2K * binfo, int argc, char * argv []) in process_args()
H A Dsndfile-convert.c48 static void copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) ;
136 SNDFILE *infile = NULL, *outfile = NULL ; in main()
376 copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) in copy_metadata()
H A Dsndfile-salvage.c86 static void copy_data (int fd, SNDFILE * sndfile, int readsize) ;
99 { SNDFILE * sndfile ; in salvage_file()
278 copy_data (int fd, SNDFILE * sndfile, int readsize) in copy_data()
H A Dsndfile-info.c220 SNDFILE *file ; in info_dump()
285 { SNDFILE *file ; in instrument_dump()
326 { SNDFILE *file ; in broadcast_dump()
397 { SNDFILE *file ; in chanmap_dump()
473 { SNDFILE *file ; in cart_dump()
/third_party/pulseaudio/src/pulsecore/
H A Dsndfile-util.h29 int pa_sndfile_read_sample_spec(SNDFILE *sf, pa_sample_spec *ss);
30 int pa_sndfile_read_channel_map(SNDFILE *sf, pa_channel_map *cm);
33 int pa_sndfile_write_channel_map(SNDFILE *sf, pa_channel_map *cm);
35 void pa_sndfile_init_proplist(SNDFILE *sf, pa_proplist *p);
37 typedef sf_count_t (*pa_sndfile_readf_t)(SNDFILE *sndfile, void *ptr, sf_count_t frames);
38 typedef sf_count_t (*pa_sndfile_writef_t)(SNDFILE *sndfile, const void *ptr, sf_count_t frames);
H A Dsound-file.c48 SNDFILE *sf = NULL; in pa_sound_file_load()
52 sf_count_t (*readf_function)(SNDFILE *sndfile, void *ptr, sf_count_t frames) = NULL; in pa_sound_file_load()
137 SNDFILE*sf = NULL; in pa_sound_file_too_big_to_cache()
H A Dsndfile-util.c33 int pa_sndfile_read_sample_spec(SNDFILE *sf, pa_sample_spec *ss) { in pa_sndfile_read_sample_spec()
151 int pa_sndfile_read_channel_map(SNDFILE *sf, pa_channel_map *cm) { in pa_sndfile_read_channel_map()
217 int pa_sndfile_write_channel_map(SNDFILE *sf, pa_channel_map *cm) { in pa_sndfile_write_channel_map()
318 void pa_sndfile_init_proplist(SNDFILE *sf, pa_proplist *p) { in pa_sndfile_init_proplist()
/third_party/libsnd/regtest/
H A Dchecksum.c38 static int short_checksum (SNDFILE * file, int start) ;
39 static int int_checksum (SNDFILE * file, int start) ;
40 static int float_checksum (SNDFILE * file, int start) ;
43 calc_checksum (SNDFILE * file, const SF_INFO * info) in calc_checksum()
77 short_checksum (SNDFILE * file, int start) in short_checksum()
91 int_checksum (SNDFILE * file, int start) in int_checksum()
105 float_checksum (SNDFILE * file, int start) in float_checksum()
/third_party/libsnd/src/
H A Dcommand.c313 save_state = sf_command ((SNDFILE*) psf, SFC_GET_NORM_DOUBLE, NULL, 0) ; in psf_calc_signal_max()
314 sf_command ((SNDFILE*) psf, SFC_SET_NORM_DOUBLE, NULL, normalize) ; in psf_calc_signal_max()
318 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; in psf_calc_signal_max()
320 sf_seek ((SNDFILE*) psf, 0, SEEK_SET) ; in psf_calc_signal_max()
327 { readcount = (int) sf_read_double ((SNDFILE*) psf, data, len) ; in psf_calc_signal_max()
334 /* Return to SNDFILE to original state. */ in psf_calc_signal_max()
335 sf_seek ((SNDFILE*) psf, position, SEEK_SET) ; in psf_calc_signal_max()
336 sf_command ((SNDFILE*) psf, SFC_SET_NORM_DOUBLE, NULL, save_state) ; in psf_calc_signal_max()
356 save_state = sf_command ((SNDFILE*) psf, SFC_GET_NORM_DOUBLE, NULL, 0) ; in psf_calc_max_all_channels()
357 sf_command ((SNDFILE*) ps in psf_calc_max_all_channels()
[all...]
H A Dsndfile.c83 { SFE_BAD_SNDFILE_PTR , "Not a valid SNDFILE* pointer." },
347 SNDFILE*
439 SNDFILE*
442 SNDFILE *result ; in sf_open_fd()
475 SNDFILE*
521 sf_close (SNDFILE *sndfile) in sf_close()
530 sf_write_sync (SNDFILE *sndfile) in sf_write_sync()
567 sf_strerror (SNDFILE *sndfile) in sf_strerror()
595 sf_error (SNDFILE *sndfile) in sf_error()
613 sf_perror (SNDFILE *sndfil
[all...]
/third_party/libsnd/examples/
H A Dsndfile-loopify.c50 static void sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) ;
51 static void add_instrument_data (SNDFILE *outfile, const SF_INFO * in_info) ;
64 SNDFILE *infile = NULL, *outfile = NULL ; in main()
133 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int()
149 add_instrument_data (SNDFILE *file, const SF_INFO *info) in add_instrument_data()
H A Dsndfile-to-text.c64 convert_to_text (SNDFILE * infile, FILE * outfile, int channels, int full_precision) in convert_to_text()
96 SNDFILE *infile = NULL ; in main()
/third_party/libsnd/tests/
H A Derror_test.c77 SNDFILE *file ; in error_value_test()
105 { SNDFILE *sndfile ; in no_file_test()
115 exit_if_true (sndfile != NULL, "\n\nLine %d : should not have received a valid SNDFILE* pointer.\n", __LINE__) ; in no_file_test()
123 { SNDFILE *sndfile ; in zero_length_test()
137 exit_if_true (sndfile != NULL, "\n\nLine %d : should not have received a valid SNDFILE* pointer.\n", __LINE__) ; in zero_length_test()
149 { SNDFILE *sndfile ; in bad_wav_test()
169 { printf ("\n\nLine %d : should not have received a valid SNDFILE* pointer.\n", __LINE__) ; in bad_wav_test()
179 { SNDFILE *sndfile ; in wav_list_recover_test()
220 SNDFILE *sndfile ; in error_close_test()
266 SNDFILE *sndfil in unrecognised_test()
[all...]
H A Dmisc_test.c228 { SNDFILE *file ; in zero_data_test()
269 SNDFILE *file ; in filesystem_full_test()
324 SNDFILE *file ; in permission_test()
394 SNDFILE *file ; in wavex_amb_test()
431 SNDFILE *file ; in rf64_downgrade_test()
486 SNDFILE *file ; in rf64_long_file_downgrade_test()
H A Dogg_opus_test.c53 SNDFILE * file ; in ogg_opus_short_test()
111 SNDFILE * file ; in ogg_opus_int_test()
166 SNDFILE * file ; in ogg_opus_float_test()
215 SNDFILE * file ; in ogg_opus_double_test()
266 SNDFILE * file ; in ogg_opus_stereo_seek_test()
336 SNDFILE * file ; in ogg_opus_original_samplerate_test()
H A Dcommand_test.c229 { SNDFILE *file ; in float_norm_test()
345 { SNDFILE *file ; in double_norm_test()
557 { SNDFILE *file ; in calc_peak_test()
672 { SNDFILE *file ; in truncate_test()
706 { SNDFILE *sndfile ; in instrumet_rw_test()
748 SNDFILE *file ; in instrument_test()
895 { SNDFILE *sndfile ; in cue_rw_test()
937 SNDFILE *file ; in cue_test()
999 SNDFILE *file ; in cue_test_var()
1055 { SNDFILE *outfil in current_sf_info_test()
[all...]
H A Dlong_read_write_test.c91 { SNDFILE *file ; in short_lrw_test()
137 { SNDFILE *file ; in int_lrw_test()
183 { SNDFILE *file ; in float_lrw_test()
229 { SNDFILE *file ; in double_lrw_test()
H A Dstring_test.c218 SNDFILE *file ; in string_start_end_test()
367 SNDFILE *file ; in string_start_test()
552 SNDFILE *file ; in string_multi_set_test()
621 { SNDFILE *file ; in string_rdwr_test()
674 { SNDFILE *file ; in string_short_rdwr_test()
755 SNDFILE *file ; in software_string_test()
785 { SNDFILE *file ; in string_rdwr_grow_test()
843 { SNDFILE *file , *file1 ; in string_header_update()
H A Dmpeg_test.c54 SNDFILE * file ; in mpeg_short_test()
112 SNDFILE * file ; in mpeg_int_test()
167 SNDFILE * file ; in mpeg_float_test()
216 SNDFILE * file ; in mpeg_double_test()
267 SNDFILE * file ; in mpeg_stereo_seek_test()
H A Dogg_test.c53 SNDFILE * file ; in ogg_short_test()
111 SNDFILE * file ; in ogg_int_test()
166 SNDFILE * file ; in ogg_float_test()
215 SNDFILE * file ; in ogg_double_test()
266 SNDFILE * file ; in ogg_stereo_seek_test()

Completed in 15 milliseconds

123