/third_party/libsnd/tests/ |
D | ogg_opus_test.c | 82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test() 91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test() 140 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_int_test() 149 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_int_test() 189 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_float_test() 198 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_float_test() 238 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_double_test() 247 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_double_test() 293 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_stereo_seek_test() 369 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_original_samplerate_test() [all …]
|
D | mpeg_test.c | 83 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test() 92 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test() 141 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_int_test() 150 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_int_test() 190 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_float_test() 199 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_float_test() 239 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_double_test() 248 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_double_test() 294 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_stereo_seek_test()
|
D | ogg_test.c | 82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test() 91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test() 140 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_int_test() 149 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_int_test() 189 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_float_test() 198 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_float_test() 238 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_double_test() 247 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_double_test() 293 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in ogg_stereo_seek_test()
|
D | error_test.c | 87 file = sf_open (filename, SFM_READ, &sfinfo) ; in error_value_test() 113 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in no_file_test() 135 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in zero_length_test() 166 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in bad_wav_test() 200 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in wav_list_recover_test() 281 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in unrecognised_test()
|
D | string_test.c | 253 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_start_end_test() 419 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_start_test() 594 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_multi_set_test() 636 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test() 654 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test() 713 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_short_rdwr_test() 768 file = test_open_file_or_die (filename, SFM_READ, &info, SF_TRUE, __LINE__) ; in software_string_test() 823 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_rdwr_grow_test() 876 file1 = test_open_file_or_die (filename, SFM_READ, &sfinfo1, SF_TRUE, __LINE__) ; in string_header_update() 896 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in string_header_update()
|
D | command_test.c | 271 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in float_norm_test() 387 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in double_norm_test() 587 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in calc_peak_test() 634 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in calc_peak_test() 767 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in instrument_test() 973 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in cue_test() 1033 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in cue_test_var() 1082 infile = test_open_file_or_die (filename, SFM_READ, &ininfo, SF_TRUE, __LINE__) ; in current_sf_info_test() 1134 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in broadcast_test() 1218 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in broadcast_rdwr_test() [all …]
|
D | aiff_rw_test.c | 124 if ((file = sf_open (filename, SFM_READ, &sfinfo_rd)) == NULL) in rw_test() 141 if ((file = sf_open (filename, SFM_READ, &sfinfo_rw)) == NULL) in rw_test()
|
D | long_read_write_test.c | 113 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in short_lrw_test() 159 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in int_lrw_test() 205 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in float_lrw_test() 251 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in double_lrw_test()
|
D | ulaw_test.c | 77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main() 123 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
|
D | alaw_test.c | 77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main() 122 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
|
D | chunk_test.c | 151 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, allow_fd, __LINE__) ; in chunk_test_helper() 243 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, allow_fd, __LINE__) ; in multichunk_test_helper() 372 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in wav_subchunk_test() 432 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in large_free_test()
|
D | misc_test.c | 253 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in zero_data_test() 413 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in wavex_amb_test() 459 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in rf64_downgrade_test() 515 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in rf64_long_file_downgrade_test()
|
D | peak_chunk_test.c | 156 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, 0, __LINE__) ; in test_float_peak() 223 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, 0, __LINE__) ; in test_float_peak() 357 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in read_write_peak_test()
|
D | raw_test.c | 86 sndfile = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in raw_offset_test() 173 if ((file = sf_open (filename, SFM_READ, &sfinfo)) != NULL) in bad_raw_test()
|
D | headerless_test.c | 91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in headerless_test() 152 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in old_test()
|
/third_party/libsnd/src/ |
D | sndfile.c | 492 if ((mode == SFM_READ || mode == SFM_RDWR) && sfvirtual->read == NULL) in sf_open_virtual() 1223 if (psf->file.mode == SFM_READ || psf->file.mode == SFM_RDWR) in sf_command() 1224 dither_init (psf, SFM_READ) ; in sf_command() 1519 if (((whence & SFM_MASK) == SFM_WRITE && psf->file.mode == SFM_READ) || in sf_seek() 1520 ((whence & SFM_MASK) == SFM_READ && psf->file.mode == SFM_WRITE)) in sf_seek() 1531 case SEEK_SET | SFM_READ : in sf_seek() 1540 { if (psf->file.mode == SFM_READ) in sf_seek() 1545 if (psf->file.mode == SFM_READ) in sf_seek() 1553 case SEEK_CUR | SFM_READ : in sf_seek() 1567 case SEEK_END | SFM_READ : in sf_seek() [all …]
|
D | mpeg.c | 74 if (psf->file.mode == SFM_READ) in mpeg_command() 121 if (psf->file.mode == SFM_READ) in mpeg_init()
|
D | test_file_io.c | 75 psf->file.mode = SFM_READ ; in file_open_test() 164 psf->file.mode = SFM_READ ; in file_read_write_test() 298 psf->file.mode = SFM_READ ; in file_truncate_test() 322 psf->file.mode = SFM_READ ; in file_truncate_test() 341 psf->file.mode = SFM_READ ; in file_seek_with_offset_test()
|
/third_party/libsnd/programs/ |
D | sndfile-info.c | 226 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in info_dump() 292 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in instrument_dump() 334 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in broadcast_dump() 404 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in chanmap_dump() 481 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in cart_dump()
|
D | sndfile-cmp.c | 74 sf1 = sf_open (filename1, SFM_READ, &sfinfo1) ; in compare() 82 sf2 = sf_open (filename2, SFM_READ, &sfinfo2) ; in compare()
|
D | sndfile-concat.c | 93 if ((infiles [0] = sf_open (argv [0], SFM_READ, &sfinfo_in)) == NULL) in main() 101 { if ((infiles [k] = sf_open (argv [k], SFM_READ, &sfinfo_in)) == NULL) in main()
|
D | sndfile-play.c | 102 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in alsa_play() 373 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in opensoundsys_play() 582 if (! (audio_data.sndfile = sf_open (argv [k], SFM_READ, &(audio_data.sfinfo)))) in win32_play() 685 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in sndio_play() 746 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in solaris_play()
|
/third_party/libsnd/include/ |
D | sndfile.hh | 84 SndfileHandle (const char *path, int mode = SFM_READ, 86 SndfileHandle (std::string const & path, int mode = SFM_READ, 88 SndfileHandle (int fd, bool close_desc, int mode = SFM_READ, 90 SndfileHandle (SF_VIRTUAL_IO &sfvirtual, void *user_data, int mode = SFM_READ, 94 SndfileHandle (const wchar_t *wpath, int mode = SFM_READ,
|
/third_party/libsnd/examples/ |
D | generate.cs | 126 SFM_READ = 0x10, enumerator 192 IntPtr infile = sf_open (sfn, (int)lsndf_tf.SFM_READ, ref sfinfo); in Main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | sound-file.c | 76 if (!(sf = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_sound_file_load() 144 if (!(sf = sf_open(fname, SFM_READ, &sfi))) { in pa_sound_file_too_big_to_cache()
|