Home
last modified time | relevance | path

Searched refs:SF_FALSE (Results 1 – 25 of 68) sorted by relevance

123

/third_party/libsnd/tests/
Dfloating_point_test.tpl72 …float_scaled_test ("float.raw", allow_exit, SF_FALSE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT…
76 float_scaled_test ("pcm_s8.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_PCM_S8, -39.0) ;
77 float_scaled_test ("pcm_u8.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_PCM_U8, -39.0) ;
79 …float_scaled_test ("pcm_16.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P…
80 …float_scaled_test ("pcm_24.raw", allow_exit, SF_FALSE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMA…
81 …float_scaled_test ("pcm_32.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P…
83 float_scaled_test ("ulaw.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_ULAW, -50.0) ;
84 float_scaled_test ("alaw.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_ALAW, -49.0) ;
86 …float_scaled_test ("ima_adpcm.wav", allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, -47…
87 …float_scaled_test ("ms_adpcm.wav" , allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, -40.…
[all …]
Dwrite_read_test.tpl94 { pcm_test_char ("char.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_U8, SF_FALSE) ;
95 pcm_test_short ("short.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_16, SF_FALSE) ;
96 pcm_test_24bit ("24bit.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_24, SF_FALSE) ;
97 pcm_test_int ("int.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_32, SF_FALSE) ;
99 pcm_test_char ("char.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_U8, SF_FALSE) ;
100 pcm_test_short ("short.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16, SF_FALSE) ;
101 pcm_test_24bit ("24bit.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_24, SF_FALSE) ;
102 pcm_test_int ("int.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_32, SF_FALSE) ;
104 pcm_test_24bit ("24bit.wavex" , SF_FORMAT_WAVEX | SF_FORMAT_PCM_24, SF_FALSE) ;
105 pcm_test_int ("int.wavex" , SF_FORMAT_WAVEX | SF_FORMAT_PCM_32, SF_FALSE) ;
[all …]
Dogg_opus_test.c75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test()
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()
133 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_int_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()
182 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_float_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()
231 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_double_test()
[all …]
Dogg_test.c75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test()
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()
133 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_int_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()
182 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_float_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()
231 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_double_test()
[all …]
Dpeak_chunk_test.c145 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ; in test_float_peak()
174 if (sf_command (file, SFC_GET_SIGNAL_MAX, data, sizeof (double)) == SF_FALSE) in test_float_peak()
184 … (sf_command (file, SFC_GET_MAX_ALL_CHANNELS, data, sizeof (double) * sfinfo.channels) == SF_FALSE) in test_float_peak()
211 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ; in test_float_peak()
213 sf_command (file, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ; in test_float_peak()
334 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in read_write_peak_test()
343 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in read_write_peak_test()
357 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in read_write_peak_test()
Dcommand_test.c261 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in float_norm_test()
307 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in float_norm_test()
378 sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ; in double_norm_test()
423 sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ; in double_norm_test()
711 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in instrumet_rw_test()
758 if (sf_command (file, SFC_SET_INSTRUMENT, &write_inst, sizeof (write_inst)) == SF_FALSE) in instrument_test()
768 if (sf_command (file, SFC_GET_INSTRUMENT, &read_inst, sizeof (read_inst)) == SF_FALSE) in instrument_test()
887 return SF_FALSE ; in cue_compare()
900 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in cue_rw_test()
964 if (sf_command (file, SFC_SET_CUE, &write_cue, sizeof (write_cue)) == SF_FALSE) in cue_test()
[all …]
Dcompression_size_test.c96 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in vorbis_test()
140 q3_file = test_open_file_or_die (q3_fname, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in compression_size_test()
141 q6_file = test_open_file_or_die (q6_fname, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in compression_size_test()
Dmulti_file_test.c77 static int verbose = SF_FALSE ;
170 if ((sndfile = sf_open_fd (fd, SFM_READ, &sfinfo, SF_FALSE)) == NULL) in multi_file_test()
222 if ((sndfile = sf_open_fd (fd, SFM_WRITE, &sfinfo, SF_FALSE)) == NULL) in write_file_at_end()
Dstring_test.c573 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test()
578 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test()
585 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test()
590 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test()
596 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_rdwr_test()
629 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in string_short_rdwr_test()
639 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ; in string_short_rdwr_test()
654 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in string_short_rdwr_test()
Dlossy_comp_test.c670 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short()
680 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short()
867 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_int()
877 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_int()
1054 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_float()
1055 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in lcomp_test_float()
1065 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_float()
1089 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in lcomp_test_float()
1095 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; in lcomp_test_float()
1248 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_double()
[all …]
Dchannel_test.c80 file = test_open_file_or_die (filename, SFM_WRITE, &wsfinfo, SF_FALSE, __LINE__) ; in channel_test()
85 file = test_open_file_or_die (filename, SFM_READ, &rsfinfo, SF_FALSE, __LINE__) ; in channel_test()
Dcue_test.c28 if ((err = sf_command(file, SFC_GET_CUE_COUNT, &count, sizeof(uint32_t))) == SF_FALSE) in get_cues()
47 if (sf_command(file, SFC_GET_CUE, info, size) == SF_FALSE) in get_cues()
Dmisc_test.c150 if (SF_FALSE) in main()
446 …exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_FALSE) != SF_FALSE, "\n\nLine %d… in rf64_downgrade_test()
451 …exit_if_true (sf_command (file, SFC_RF64_AUTO_DOWNGRADE, NULL, SF_FALSE) != SF_TRUE, "\n\nLine %d:… in rf64_downgrade_test()
/third_party/libsnd/src/
Dsndfile.c316 if ((b)->virtual_io == SF_FALSE && \
979 psf->norm_float = (datasize) ? SF_TRUE : SF_FALSE ; in sf_command()
990 psf->norm_double = (datasize) ? SF_TRUE : SF_FALSE ; in sf_command()
1002 psf->float_int_mult = (datasize != 0) ? SF_TRUE : SF_FALSE ; in sf_command()
1005 psf->float_max = (32768.0 / 32767.0) * psf_calc_signal_max (psf, SF_FALSE) ; in sf_command()
1010 psf->scale_int_float = (datasize != 0) ? SF_TRUE : SF_FALSE ; in sf_command()
1026 return SF_FALSE ; in sf_command()
1033 return SF_FALSE ; in sf_command()
1038 return SF_FALSE ; in sf_command()
1042 return SF_FALSE ; in sf_command()
[all …]
Dbroadcast.c49 return SF_FALSE ; in broadcast_var_set()
53 return SF_FALSE ; in broadcast_var_set()
58 return SF_FALSE ; in broadcast_var_set()
64 return SF_FALSE ; in broadcast_var_set()
101 return SF_FALSE ; in broadcast_var_get()
138 return SF_FALSE ; in gen_coding_history()
Dcart.c51 return SF_FALSE ; in cart_var_set()
55 return SF_FALSE ; in cart_var_set()
60 return SF_FALSE ; in cart_var_set()
66 return SF_FALSE ; in cart_var_set()
92 return SF_FALSE ; in cart_var_get()
Dogg.c462 int buffering = SF_FALSE ; in ogg_stream_seek_page_search()
463 int force_bisect = SF_FALSE ; in ogg_stream_seek_page_search()
500 force_bisect = SF_FALSE ; in ogg_stream_seek_page_search()
509 buffering = SF_FALSE ; in ogg_stream_seek_page_search()
547 buffering = SF_FALSE ; in ogg_stream_seek_page_search()
598 buffering = SF_FALSE ; in ogg_stream_seek_page_search()
661 force_bisect = end - begin > d0 * 2 ? SF_TRUE : SF_FALSE ; in ogg_stream_seek_page_search()
679 if (buffering == SF_FALSE) in ogg_stream_seek_page_search()
Dau.c126 if (au_write_header (psf, SF_FALSE)) in au_open()
166 psf->sf.seekable = SF_FALSE ; in au_open()
171 psf->sf.seekable = SF_FALSE ; in au_open()
176 psf->sf.seekable = SF_FALSE ; in au_open()
228 if (psf->is_pipe == SF_FALSE) in au_write_header()
Dfloat32.c103 psf->data_endswap = SF_FALSE ; in float32_init()
111 psf->data_endswap = SF_FALSE ; in float32_init()
144 psf->data_endswap = SF_FALSE ; in float32_init()
152 psf->data_endswap = SF_FALSE ; in float32_init()
174 psf->data_endswap = SF_FALSE ; in float32_init()
182 psf->data_endswap = SF_FALSE ; in float32_init()
215 psf->data_endswap = SF_FALSE ; in float32_init()
223 psf->data_endswap = SF_FALSE ; in float32_init()
Dpvf.c67 if (pvf_write_header (psf, SF_FALSE)) in pvf_open()
112 if (psf->is_pipe == SF_FALSE) in pvf_write_header()
Dcommon.c125 left_align = SF_FALSE ; in psf_log_printf()
167 if (left_align == SF_FALSE) in psf_log_printf()
182 if (lead_char != '0' && left_align == SF_FALSE) in psf_log_printf()
200 if (left_align == SF_FALSE && lead_char != '0') in psf_log_printf()
213 if (left_align == SF_FALSE) in psf_log_printf()
279 if (left_align == SF_FALSE && lead_char != '0') in psf_log_printf()
292 if (left_align == SF_FALSE) in psf_log_printf()
564 int count = 0, trunc_8to4 = SF_FALSE ; in psf_binheader_writef()
593 trunc_8to4 = SF_FALSE ; in psf_binheader_writef()
643 if (psf->rwf_endian == SF_ENDIAN_BIG && trunc_8to4 == SF_FALSE) in psf_binheader_writef()
[all …]
Dfile_io.c273 { return (psf->file.filedes >= 0) ? SF_TRUE : SF_FALSE ; in psf_file_valid()
463 return SF_FALSE ; in psf_is_pipe()
474 return SF_FALSE ; in psf_is_pipe()
913 return SF_FALSE ; in psf_file_valid()
915 return SF_FALSE ; in psf_file_valid()
1113 return SF_FALSE ; in psf_is_pipe()
1116 return SF_FALSE ; in psf_is_pipe()
1439 return SF_FALSE ; in psf_is_pipe()
1452 return SF_FALSE ; in psf_is_pipe()
Ddouble64.c106 psf->data_endswap = SF_FALSE ; in double64_init()
114 psf->data_endswap = SF_FALSE ; in double64_init()
139 psf->data_endswap = SF_FALSE ; in double64_init()
147 psf->data_endswap = SF_FALSE ; in double64_init()
177 psf->data_endswap = SF_FALSE ; in double64_init()
185 psf->data_endswap = SF_FALSE ; in double64_init()
210 psf->data_endswap = SF_FALSE ; in double64_init()
218 psf->data_endswap = SF_FALSE ; in double64_init()
/third_party/libsnd/docs/
Dcommand.md337 SF_TRUE if the file header contained the peak value. SF_FALSE
368 SF_FALSE otherwise.
396 : SF_TRUE or SF_FALSE
405 For both cases, setting normalisation to SF_FALSE means that no scaling will
413 sf_command (sndfile, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ;
446 : SF_TRUE or SF_FALSE
455 For both cases, setting normalisation to SF_FALSE means that no scaling will
463 sf_command (sndfile, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ;
924 sf_command (sndfile, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ;
930 SF_FALSE if the peak chunk will not be written after this call.
[all …]
/third_party/libsnd/programs/
Dsndfile-info.c303 if (got_inst == SF_FALSE) in instrument_dump()
345 if (got_bext == SF_FALSE) in broadcast_dump()
418 if (got_chanmap == SF_FALSE) in chanmap_dump()
490 if (got_cart == SF_FALSE) in cart_dump()

123