/third_party/libsnd/include/ |
D | sndfile.h | 359 typedef struct sf_private_tag SNDFILE ; typedef 595 SNDFILE* sf_open (const char *path, int mode, SF_INFO *sfinfo) ; 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) ; 626 const char* sf_strerror (SNDFILE *sndfile) ; 642 int sf_perror (SNDFILE *sndfile) ; 643 int sf_error_str (SNDFILE *sndfile, char* str, size_t len) ; 650 int sf_command (SNDFILE *sndfile, int command, void *data, int datasize) ; 676 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ; [all …]
|
D | sndfile.hh | 74 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/ |
D | sndfile-concat.c | 45 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 *rofile, int channels) in concat_data_fp() 154 concat_data_int (SNDFILE *wfile, SNDFILE *rofile, int channels) in concat_data_int()
|
D | common.h | 70 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) ;
|
D | common.c | 50 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()
|
D | sndfile-convert.c | 48 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()
|
D | sndfile-metadata-get.c | 49 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()
|
D | sndfile-salvage.c | 86 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()
|
/third_party/pulseaudio/src/pulsecore/ |
D | sndfile-util.h | 29 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);
|
D | sound-file.c | 48 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()
|
/third_party/libsnd/src/ |
D | command.c | 313 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() 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*) psf, SFC_SET_NORM_DOUBLE, NULL, normalize) ; in psf_calc_max_all_channels() 362 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; /* Get current position in file */ in psf_calc_max_all_channels() [all …]
|
D | sndfile.c | 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 *sndfile) in sf_perror() 634 sf_error_str (SNDFILE *sndfile, char *str, size_t maxlen) in sf_error_str() [all …]
|
/third_party/libsnd/regtest/ |
D | checksum.c | 38 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/examples/ |
D | sndfile-loopify.c | 50 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()
|
/third_party/libsnd/tests/ |
D | error_test.c | 77 SNDFILE *file ; in error_value_test() 105 { SNDFILE *sndfile ; in no_file_test() 123 { SNDFILE *sndfile ; in zero_length_test() 149 { SNDFILE *sndfile ; in bad_wav_test() 179 { SNDFILE *sndfile ; in wav_list_recover_test() 220 SNDFILE *sndfile ; in error_close_test() 266 SNDFILE *sndfile ; in unrecognised_test()
|
D | utils.tpl | 126 void dump_log_buffer (SNDFILE *file) ; 127 void check_log_buffer_or_die (SNDFILE *file, int line_num) ; 128 int string_in_log_buffer (SNDFILE *file, const char *s) ; 133 SNDFILE *test_open_file_or_die 137 (SNDFILE *file, int line_num, int pass, sf_count_t read_pos, sf_count_t write_pos) ; 140 (SNDFILE *file, sf_count_t offset, int whence, sf_count_t new_pos, int channels, int line_num) ; 145 …(SNDFILE *file, int pass, [+ (get "io_element") +] *test, sf_count_t [+ (get "count_name") +], int… 149 test_read_raw_or_die (SNDFILE *file, int pass, void *test, sf_count_t items, int line_num) ; 154 …(SNDFILE *file, int pass, const [+ (get "io_element") +] *test, sf_count_t [+ (get "count_name") +… 158 test_write_raw_or_die (SNDFILE *file, int pass, const void *test, sf_count_t items, int line_num) ; [all …]
|
D | ogg_opus_test.c | 53 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()
|
D | misc_test.c | 228 { 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()
|
D | mpeg_test.c | 54 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()
|
D | ogg_test.c | 53 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()
|
/third_party/libsnd/docs/ |
D | command.md | 9 int sf_command (SNDFILE *sndfile, int cmd, void *data, int datasize) ; 134 : A valid SNDFILE* pointer 171 : A valid SNDFILE* pointer 201 : A valid SNDFILE* pointer 231 : A valid SNDFILE* pointer 261 : A valid SNDFILE* pointer 291 : A valid SNDFILE* pointer 320 : A valid SNDFILE* pointer 350 : A valid SNDFILE* pointer 380 size_t sf_read_float (SNDFILE *sndfile, float *ptr, size_t items) ; [all …]
|
D | api.md | 54 SNDFILE* is an anonymous pointer to data which is private to the library. 59 SNDFILE* sf_open (const char *path, int mode, SF_INFO *sfinfo) ; 67 SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; 197 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ; 229 SNDFILE* sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) ; 318 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ; 356 int sf_error (SNDFILE *sndfile) ; 359 This function returns the current error number for the given SNDFILE. 378 const char* sf_strerror (SNDFILE *sndfile) ; 386 int sf_perror (SNDFILE *sndfile) ; [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sndfile/ |
D | gstsfsrc.h | 46 typedef sf_count_t (*GstSFReader)(SNDFILE *f, void *data, sf_count_t nframes); 52 SNDFILE *file;
|
D | gstsfdec.h | 45 typedef sf_count_t (*GstSFReader)(SNDFILE *f, void *data, sf_count_t nframes); 58 SNDFILE *file;
|
D | gstsfsink.h | 46 typedef sf_count_t (*GstSFWriter)(SNDFILE *f, void *data, sf_count_t nframes); 52 SNDFILE *file;
|