Home
last modified time | relevance | path

Searched refs:sf_open (Results 1 – 25 of 47) sorted by relevance

12

/third_party/libsnd/tests/
Dalaw_test.c56 if ((file = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL) in main()
77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main()
106 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in main()
122 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
Dulaw_test.c56 if ((file = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL) in main()
77 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in main()
107 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in main()
123 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in main()
Derror_test.c91 file = sf_open (filename, SFM_READ, &sfinfo) ; in error_value_test()
117 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in no_file_test()
139 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in zero_length_test()
170 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in bad_wav_test()
255 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in unrecognised_test()
Daiff_rw_test.c124 if ((file = sf_open (filename, SFM_READ, &sfinfo_rd)) == NULL) in rw_test()
132 if ((file = sf_open (filename, SFM_RDWR, &sfinfo_rw)) == NULL) in rw_test()
141 if ((file = sf_open (filename, SFM_READ, &sfinfo_rw)) == NULL) in rw_test()
Dformat_check_test.c63 file = sf_open (filename, SFM_WRITE, &info) ; in format_error_test()
71 file = sf_open (filename, SFM_WRITE, &info) ; in format_error_test()
126 sndfile = sf_open (filename, SFM_WRITE, &info) ; in format_combo_test()
Dsftest.c47 if (! (file = sf_open (argv [1], SFM_READ, &sfinfo))) in main()
Dfix_this.c106 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in lcomp_test_int()
123 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in lcomp_test_int()
Dutils.tpl247 if ((file = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL)
248 { printf ("Error (%s, %d) : sf_open failed : %s\n", __FILE__, __LINE__, sf_strerror (file)) ;
522 ** Need to test both sf_open() and sf_open_fd().
571 { func_name = "sf_open" ;
572 file = sf_open (filename, mode, sfinfo) ;
865 if ((file = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL)
866 { printf ("sf_open (%s) : %s\n", filename, sf_strerror (NULL)) ;
/third_party/libsnd/programs/
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()
112 if ((outfile = sf_open (outfilename, SFM_WRITE, &sfinfo_out)) == NULL) in main()
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()
332 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in broadcast_dump()
402 if ((file = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in chanmap_dump()
479 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-deinterleave.c82 if ((state.infile = sf_open (argv [1], SFM_READ, &sfinfo)) == NULL) in main()
127 if ((state.outfile [ch] = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL) in main()
Dsndfile-interleave.c95 if ((state.infile [k - 1] = sf_open (argv [k], SFM_READ, &sfinfo)) == NULL) in main()
122 if ((state.outfile = sf_open (argv [argc - 1], SFM_WRITE, &sfinfo)) == NULL) in main()
Dsndfile-play.c102 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in alsa_play()
371 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in opensoundsys_play()
580 if (! (audio_data.sndfile = sf_open (argv [k], SFM_READ, &(audio_data.sfinfo)))) in win32_play()
683 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in sndio_play()
744 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in solaris_play()
Dsndfile-salvage.c114 if ((sndfile = sf_open (broken_wav, SFM_READ, &sfinfo)) == NULL) in salvage_file()
165 if ((sndfile = sf_open (fixed_w64, SFM_WRITE, &sfinfo)) == NULL) in salvage_file()
Dcommon.c243 infile = outfile = sf_open (filenames [0], SFM_RDWR, &sfinfo) ; in sfe_apply_metadata_changes()
245 { infile = sf_open (filenames [0], SFM_READ, &sfinfo) ; in sfe_apply_metadata_changes()
249 outfile = sf_open (filenames [1], SFM_WRITE, &sfinfo) ; in sfe_apply_metadata_changes()
Dsndfile-convert.c290 if ((infile = sf_open (infilename, SFM_READ, &sfinfo)) == NULL) in main()
345 if ((outfile = sf_open (outfilename, SFM_WRITE, &sfinfo)) == NULL) in main()
/third_party/libsnd/examples/
Dgenerate.cs151 …public static extern IntPtr sf_open ([MarshalAs(UnmanagedType.LPStr)] string path, int mode, ref S… in sf_open() method in lsndf_example
192 IntPtr infile = sf_open (sfn, (int)lsndf_tf.SFM_READ, ref sfinfo); in Main()
224 IntPtr outfile = sf_open (ofn, (int)lsndf_tf.SFM_WRITE, ref sfinfo); in Main()
Dsfprocess.c91 if (! (infile = sf_open (infilename, SFM_READ, &sfinfo))) in main()
104 if (! (outfile = sf_open (outfilename, SFM_WRITE, &sfinfo))) in main()
Dgenerate.c101 if (! (infile = sf_open (infilename, SFM_READ, &sfinfo))) in encode_file()
115 if (! (outfile = sf_open (outfilename, SFM_WRITE, &sfinfo))) in encode_file()
Dsndfile-loopify.c98 if ((infile = sf_open (infilename, SFM_READ, &in_sfinfo)) == NULL) in main()
106 if ((outfile = sf_open (outfilename, SFM_WRITE, &out_sfinfo)) == NULL) in main()
Dmake_sine.c69 if (! (file = sf_open ("sine.wav", SFM_WRITE, &sfinfo))) in main()
Dsndfile-to-text.c134 if ((infile = sf_open (infilename, SFM_READ, &sfinfo)) == NULL) in main()
/third_party/libsnd/Octave/
Dsndfile.cc80 if ((file = sf_open (filename.c_str (), SFM_READ, &sfinfo)) == NULL)
183 if ((file = sf_open (filename.c_str (), SFM_WRITE, &sfinfo)) == NULL)
/third_party/pulseaudio/src/pulsecore/
Dsound-file.c144 if (!(sf = sf_open(fname, SFM_READ, &sfi))) { in pa_sound_file_too_big_to_cache()

12