Home
last modified time | relevance | path

Searched refs:SF_FORMAT_WAV (Results 1 – 25 of 46) sorted by relevance

12

/third_party/libsnd/tests/
Dlossy_comp_test.c122 lcomp_test_short ("pcm.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, 1e-50) ; in main()
123 lcomp_test_int ("pcm.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_32, 2, 1e-50) ; in main()
124 lcomp_test_short ("pcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, 1e-50) ; in main()
125 lcomp_test_int ("pcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_32, 2, 1e-50) ; in main()
127 lcomp_test_float ("pcm.wav", SF_FORMAT_WAV | SF_FORMAT_FLOAT, 2, 1e-50) ; in main()
128 lcomp_test_double ("pcm.wav", SF_FORMAT_WAV | SF_FORMAT_DOUBLE, 2, 1e-50) ; in main()
131 read_raw_test ("pcm.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_U8, 2) ; in main()
138 { lcomp_test_short ("ima.wav", SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main()
139 lcomp_test_int ("ima.wav", SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.65) ; in main()
140 lcomp_test_float ("ima.wav", SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main()
[all …]
Dmulti_file_test.c52 { SF_FORMAT_WAV | SF_FORMAT_PCM_16,
53 SF_FORMAT_WAV | SF_FORMAT_PCM_24,
54 SF_FORMAT_WAV | SF_FORMAT_ULAW,
55 SF_FORMAT_WAV | SF_FORMAT_ALAW,
57 SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM,
58 SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM,
Dstring_test.c74 { string_start_end_test ("strings.wav", SF_FORMAT_WAV) ; in main()
75 string_multi_set_test ("multi.wav", SF_FORMAT_WAV) ; in main()
76 string_rdwr_test ("rdwr.wav", SF_FORMAT_WAV) ; in main()
77 string_short_rdwr_test ("short_rdwr.wav", SF_FORMAT_WAV) ; in main()
78 string_rdwr_grow_test ("rdwr_grow.wav", SF_FORMAT_WAV) ; in main()
79 string_header_update ("header_update.wav", SF_FORMAT_WAV) ; in main()
86 string_start_end_test ("strings.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main()
87 string_multi_set_test ("multi.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main()
88 string_rdwr_test ("rdwr.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main()
89 string_short_rdwr_test ("short_rdwr.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main()
[all …]
Dformat_check_test.c58 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16 ; in format_error_test()
62 info.format = SF_FORMAT_WAV ; in format_error_test()
131 major_fmt_info.format == SF_FORMAT_WAV) in format_combo_test()
Dcommand_test.c143 { instrument_test ("instrument.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
154 cue_test ("cue.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
158 { cue_test_var ("cue.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16, cuecounts [i]) ; in main()
171 { broadcast_test ("broadcast.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
172 broadcast_rdwr_test ("broadcast.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
183 { cart_test ("cart.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
184 cart_rdwr_test ("cart.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
205 { raw_needs_endswap_test ("raw_end.wav", SF_FORMAT_WAV) ; in main()
207 raw_needs_endswap_test ("raw_end.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main()
776 if ((filetype & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAV) in instrument_test()
[all …]
Dcpp_test.cc44 SndfileHandle file (filename, SFM_WRITE, SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, 44100) ; in ceeplusplus_wchar_test()
304 ceeplusplus_test ("cpp_test.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
309 ceeplusplus_handle_test ("cpp_test.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
Dpeak_chunk_test.c70 { test_float_peak ("peak_float.wav", SF_FORMAT_WAV | SF_FORMAT_FLOAT) ; in main()
72 test_float_peak ("peak_float.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_FLOAT) ; in main()
74 read_write_peak_test ("rw_peak.wav", SF_FORMAT_WAV | SF_FORMAT_FLOAT) ; in main()
Dwrite_read_test.tpl96 { pcm_test_char ("char.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_U8, SF_FALSE) ;
97 pcm_test_short ("short.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_16, SF_FALSE) ;
98 pcm_test_24bit ("24bit.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_24, SF_FALSE) ;
99 pcm_test_int ("int.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_32, SF_FALSE) ;
101 pcm_test_char ("char.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_U8, SF_FALSE) ;
102 pcm_test_short ("short.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16, SF_FALSE) ;
103 pcm_test_24bit ("24bit.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_24, SF_FALSE) ;
104 pcm_test_int ("int.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_32, SF_FALSE) ;
110 pcm_test_float ("float.wav" , SF_FORMAT_WAV | SF_FORMAT_FLOAT , SF_FALSE) ;
111 pcm_test_double ("double.wav" , SF_FORMAT_WAV | SF_FORMAT_DOUBLE, SF_FALSE) ;
[all …]
Dheader_test.tpl85 { update_header_test ("header.wav", SF_FORMAT_WAV) ;
86 update_seek_short_test ("header_short.wav", SF_FORMAT_WAV) ;
87 update_seek_int_test ("header_int.wav", SF_FORMAT_WAV) ;
88 update_seek_float_test ("header_float.wav", SF_FORMAT_WAV) ;
89 update_seek_double_test ("header_double.wav", SF_FORMAT_WAV) ;
90 header_shrink_test ("header_shrink.wav", SF_FORMAT_WAV) ;
91 extra_header_test ("extra.wav", SF_FORMAT_WAV) ;
Dchunk_test.c63 { chunk_test ("chunks_pcm16.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
64 chunk_test ("chunks_pcm16.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
347 sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16 ; in wav_subchunk_test()
Dmisc_test.c74 { zero_data_test ("zerolen.wav", SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
75 filesystem_full_test (SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
76 permission_test ("readonly.wav", SF_FORMAT_WAV) ; in main()
Dlargefile_test.c43 largefile_test (SF_FORMAT_WAV, "largefile.wav") ; in main()
Dfloating_point_test.tpl88 …float_scaled_test ("ima_adpcm.wav", allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, -47…
89 …float_scaled_test ("ms_adpcm.wav" , allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, -40.…
153 …double_scaled_test ("ima_adpcm.wav", allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, -4…
154 …double_scaled_test ("ms_adpcm.wav" , allow_exit, SF_FALSE, SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, -40…
Dlocale_test.c67 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16 ; in wchar_test()
Dstdout_test.c56 { stdout_test (SF_FORMAT_WAV, PIPE_TEST_LEN) ; in main()
/third_party/libsnd/examples/
Dgenerate.c56 encode_file (argv [1], "pcmu8.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_U8) ; in main()
57 encode_file (argv [1], "pcm16.wav" , SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
58 encode_file (argv [1], "imaadpcm.wav", SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM) ; in main()
59 encode_file (argv [1], "msadpcm.wav", SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM) ; in main()
60 encode_file (argv [1], "gsm610.wav" , SF_FORMAT_WAV | SF_FORMAT_GSM610) ; in main()
Dgenerate.cs56 SF_FORMAT_WAV = 0x010000, /* Microsoft WAV format (little endian). */ enumerator
207 sfinfo.format = (int)(lsndf_frmts.SF_FORMAT_WAV | lsndf_frmts.SF_FORMAT_IMA_ADPCM); in Main()
Dsndfilehandle.cc76 create_file (fname, SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in main()
Dmake_sine.c67 sfinfo.format = (SF_FORMAT_WAV | SF_FORMAT_PCM_24) ; in main()
/third_party/libsnd/src/
Dcommand.c84 { SF_FORMAT_WAV | SF_FORMAT_PCM_16,
88 { SF_FORMAT_WAV | SF_FORMAT_FLOAT,
92 { SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM,
96 { SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM,
100 { SF_FORMAT_WAV | SF_FORMAT_PCM_U8,
157 { SF_FORMAT_WAV, "WAV (Microsoft)", "wav" },
Dwav.c191 if (format != SF_FORMAT_WAV && format != SF_FORMAT_WAVEX) in wav_open()
712 psf->sf.format = SF_FORMAT_WAV | SF_FORMAT_NMS_ADPCM_16 ; in wav_read_header()
715 psf->sf.format = SF_FORMAT_WAV | SF_FORMAT_NMS_ADPCM_24 ; in wav_read_header()
718 psf->sf.format = SF_FORMAT_WAV | SF_FORMAT_NMS_ADPCM_32 ; in wav_read_header()
727 psf->sf.format = SF_FORMAT_WAV | u_bitwidth_to_subformat (psf->bytewidth * 8) ; in wav_read_header()
732 psf->sf.format = (SF_FORMAT_WAV | SF_FORMAT_ULAW) ; in wav_read_header()
737 psf->sf.format = (SF_FORMAT_WAV | SF_FORMAT_ALAW) ; in wav_read_header()
741 psf->sf.format = (SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM) ; in wav_read_header()
747 psf->sf.format = (SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM) ; in wav_read_header()
753 psf->sf.format = (SF_FORMAT_WAV | SF_FORMAT_GSM610) ; in wav_read_header()
[all …]
/third_party/libsnd/programs/
Dcommon.c111 if ((SF_FORMAT_TYPEMASK & format) != SF_FORMAT_WAV) in merge_broadcast_info()
249 sfinfo.format = SF_FORMAT_WAV | (SF_FORMAT_SUBMASK & sfinfo.format) ; in sfe_apply_metadata_changes()
313 { "wav", 0, SF_FORMAT_WAV },
378 return (SF_FORMAT_WAV | SF_FORMAT_PCM_24) ; in sfe_file_type_of_ext()
433 { case SF_FORMAT_WAV : return "WAV" ; in sfe_container_name()
Dsndfile-salvage.c131 { case SF_FORMAT_WAV : in salvage_file()
239 { case SF_FORMAT_WAV : in find_data_offset()
/third_party/libsnd/Octave/
Dsndfile.cc255 case 0x5c8 : /* 'wav' */ return SF_FORMAT_WAV ; in major_format_of_hash()
321 case SF_FORMAT_WAV : return "wav" ; in string_of_major_format()
/third_party/libsnd/docs/
Dlinux_games_programming.txt169 sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM;
174 sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16;
205 > sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM;
325 > > sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM;

12