Home
last modified time | relevance | path

Searched refs:SFM_READ (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/libsnd/tests/
Dogg_opus_test.c82 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 …]
Dmpeg_test.c83 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()
Dogg_test.c82 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()
Derror_test.c87 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()
Dstring_test.c253 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()
Dcommand_test.c271 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 …]
Daiff_rw_test.c124 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()
Dlong_read_write_test.c113 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()
Dulaw_test.c77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main()
123 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
Dalaw_test.c77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main()
122 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
Dchunk_test.c151 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()
Dmisc_test.c253 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()
Dpeak_chunk_test.c156 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()
Draw_test.c86 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()
Dheaderless_test.c91 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/
Dsndfile.c492 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 …]
Dmpeg.c74 if (psf->file.mode == SFM_READ) in mpeg_command()
121 if (psf->file.mode == SFM_READ) in mpeg_init()
Dtest_file_io.c75 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/
Dsndfile-info.c226 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()
Dsndfile-cmp.c74 sf1 = sf_open (filename1, SFM_READ, &sfinfo1) ; in compare()
82 sf2 = sf_open (filename2, SFM_READ, &sfinfo2) ; in compare()
Dsndfile-concat.c93 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()
Dsndfile-play.c102 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/
Dsndfile.hh84 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/
Dgenerate.cs126 SFM_READ = 0x10, enumerator
192 IntPtr infile = sf_open (sfn, (int)lsndf_tf.SFM_READ, ref sfinfo); in Main()
/third_party/pulseaudio/src/pulsecore/
Dsound-file.c76 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()

12345