/third_party/libsnd/tests/ |
D | floating_point_test.tpl | 74 …float_scaled_test ("float.raw", allow_exit, SF_FALSE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT… 78 float_scaled_test ("pcm_s8.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_PCM_S8, -39.0) ; 79 float_scaled_test ("pcm_u8.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_PCM_U8, -39.0) ; 81 …float_scaled_test ("pcm_16.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P… 82 …float_scaled_test ("pcm_24.raw", allow_exit, SF_FALSE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMA… 83 …float_scaled_test ("pcm_32.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P… 85 float_scaled_test ("ulaw.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_ULAW, -50.0) ; 86 float_scaled_test ("alaw.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_ALAW, -49.0) ; 90 float_scaled_test ("gsm610.raw" , allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_GSM610, -33.0) ; 102 float_scaled_test ("dwvw_12.raw", allow_exit, SF_FALSE, SF_FORMAT_RAW | SF_FORMAT_DWVW_12, -64.0) ; [all …]
|
D | checksum_test.c | 45 { SF_FORMAT_RAW | SF_FORMAT_ULAW, 49 { SF_FORMAT_RAW | SF_FORMAT_ALAW, 53 { SF_FORMAT_RAW | SF_FORMAT_GSM610, 57 { SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM, 114 info.format = SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_16 ; in checksum_test()
|
D | headerless_test.c | 47 headerless_test ("headerless.vox", SF_FORMAT_VOX_ADPCM, SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM) ; in main() 48 headerless_test ("headerless.gsm", SF_FORMAT_GSM610, SF_FORMAT_RAW | SF_FORMAT_GSM610) ; in main() 50 headerless_test ("headerless.snd", SF_FORMAT_ULAW, SF_FORMAT_RAW | SF_FORMAT_ULAW) ; in main() 51 headerless_test ("headerless.au" , SF_FORMAT_ULAW, SF_FORMAT_RAW | SF_FORMAT_ULAW) ; in main() 73 sfinfo.format = SF_FORMAT_RAW | format ; in headerless_test() 150 sfinfo.format = filetype = SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_16 ; in old_test()
|
D | lossy_comp_test.c | 392 { lcomp_test_short ("ulaw.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_ULAW, 2, 0.04) ; in main() 393 lcomp_test_int ("ulaw.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_ULAW, 2, 0.04) ; in main() 395 lcomp_test_float ("ulaw.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_ULAW, 2, 0.04) ; in main() 396 lcomp_test_double ("ulaw.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_ULAW, 2, 0.04) ; in main() 402 { lcomp_test_short ("alaw.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_ALAW, 2, 0.04) ; in main() 403 lcomp_test_int ("alaw.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_ALAW, 2, 0.04) ; in main() 405 lcomp_test_float ("alaw.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_ALAW, 2, 0.04) ; in main() 406 lcomp_test_double ("alaw.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_ALAW, 2, 0.04) ; in main() 413 sdlcomp_test_short ("raw.gsm", SF_FORMAT_RAW | SF_FORMAT_GSM610, 1, 0.24) ; in main() 414 sdlcomp_test_int ("raw.gsm", SF_FORMAT_RAW | SF_FORMAT_GSM610, 1, 0.24) ; in main() [all …]
|
D | dwvw_test.c | 47 dwvw_test ("dwvw12.raw", SF_FORMAT_RAW | SF_FORMAT_DWVW_12, 12) ; in main() 48 dwvw_test ("dwvw16.raw", SF_FORMAT_RAW | SF_FORMAT_DWVW_16, 16) ; in main() 49 dwvw_test ("dwvw24.raw", SF_FORMAT_RAW | SF_FORMAT_DWVW_24, 24) ; in main()
|
D | pcm_test.tpl | 67 pcm_test_bits_8 ("pcm-s8.raw", SF_FORMAT_RAW | SF_FORMAT_PCM_S8, 0xa335091249dbfLL) ; 68 pcm_test_bits_8 ("pcm-u8.raw", SF_FORMAT_RAW | SF_FORMAT_PCM_U8, 0x48c433d695f3fLL) ; 70 …pcm_test_bits_16 ("le-pcm16.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_16, 0xb956c881e… 71 …pcm_test_bits_16 ("be-pcm16.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_16, 0x2f840c55750… 73 …pcm_test_bits_24 ("le-pcm24.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_24, 0xb6a759ab4… 74 …pcm_test_bits_24 ("be-pcm24.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_24, 0xf3eaf9c30b6… 76 …pcm_test_bits_32 ("le-pcm32.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_32, 0xaece1c1c1… 77 …pcm_test_bits_32 ("be-pcm32.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_32, 0x9ddf142d0b0… 80 …pcm_test_float ("le-float.raw", SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_FLOAT, 0xad04f7554267… 81 …pcm_test_float ("be-float.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_FLOAT, 0xde3e248fa9186L… [all …]
|
D | stdin_test.c | 58 { stdin_test (SF_FORMAT_RAW, PIPE_TEST_LEN) ; in main() 145 if (typemajor == SF_FORMAT_RAW) in stdin_test() 147 sfinfo.format = SF_FORMAT_RAW | SF_FORMAT_PCM_16 ; in stdin_test()
|
D | write_read_test.tpl | 205 { pcm_test_char ("char_s8.raw" , SF_FORMAT_RAW | SF_FORMAT_PCM_S8, SF_FALSE) ; 206 pcm_test_char ("char_u8.raw" , SF_FORMAT_RAW | SF_FORMAT_PCM_U8, SF_FALSE) ; 208 pcm_test_short ("short_le.raw" , SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_16, SF_FALSE) ; 209 pcm_test_short ("short_be.raw" , SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_16, SF_FALSE) ; 210 pcm_test_24bit ("24bit_le.raw" , SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_24, SF_FALSE) ; 211 pcm_test_24bit ("24bit_be.raw" , SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_24, SF_FALSE) ; 212 pcm_test_int ("int_le.raw" , SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_32, SF_FALSE) ; 213 pcm_test_int ("int_be.raw" , SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_32, SF_FALSE) ; 216 pcm_test_float ("float_le.raw" , SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_FLOAT , SF_FALSE) ; 217 pcm_test_float ("float_be.raw" , SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_FLOAT , SF_FALSE) ; [all …]
|
D | raw_test.c | 71 sfinfo.format = SF_FORMAT_RAW | typeminor ; in raw_offset_test() 170 sfinfo.format = SF_FORMAT_RAW | 0xABCD ; in bad_raw_test()
|
D | command_test.c | 124 { calc_peak_test (SF_ENDIAN_BIG | SF_FORMAT_RAW, "be-peak.raw", 1) ; in main() 125 calc_peak_test (SF_ENDIAN_LITTLE | SF_FORMAT_RAW, "le-peak.raw", 1) ; in main() 126 calc_peak_test (SF_ENDIAN_BIG | SF_FORMAT_RAW, "be-peak.raw", 7) ; in main() 127 calc_peak_test (SF_ENDIAN_LITTLE | SF_FORMAT_RAW, "le-peak.raw", 7) ; in main() 137 { truncate_test ("truncate.raw", SF_FORMAT_RAW | SF_FORMAT_PCM_32) ; in main() 236 sfinfo.format = (SF_FORMAT_RAW | SF_FORMAT_PCM_16) ; in float_norm_test() 278 if (sfinfo.format != (SF_FORMAT_RAW | SF_FORMAT_PCM_16)) in float_norm_test() 279 …{ printf ("Line %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, (SF_FORMAT_RAW | S… in float_norm_test() 352 sfinfo.format = (SF_FORMAT_RAW | SF_FORMAT_PCM_16) ; in double_norm_test() 394 if (sfinfo.format != (SF_FORMAT_RAW | SF_FORMAT_PCM_16)) in double_norm_test() [all …]
|
D | pipe_test.tpl | 65 { { SF_FORMAT_RAW , "raw" }, 76 { { SF_FORMAT_RAW , "raw" }, 272 if (filetype == SF_FORMAT_RAW)
|
D | stdout_test.c | 51 { stdout_test (SF_FORMAT_RAW, PIPE_TEST_LEN) ; in main()
|
D | ulaw_test.c | 54 sf_info_setup (&sfinfo, SF_FORMAT_RAW | SF_FORMAT_ULAW, 44100, 1) ; in main()
|
D | alaw_test.c | 54 sf_info_setup (&sfinfo, SF_FORMAT_RAW | SF_FORMAT_ALAW, 44100, 1) ; in main()
|
D | fix_this.c | 120 if ((filetype & SF_FORMAT_TYPEMASK) != SF_FORMAT_RAW) in lcomp_test_int()
|
/third_party/libsnd/programs/ |
D | common.c | 317 { "raw", 0, SF_FORMAT_RAW }, 318 { "gsm", 0, SF_FORMAT_RAW | SF_FORMAT_GSM610 }, 319 { "vox", 0, SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM }, 436 case SF_FORMAT_RAW : return "RAW" ; in sfe_container_name()
|
/third_party/libsnd/src/ |
D | command.c | 70 { SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM, 150 { SF_FORMAT_RAW, "RAW (header-less)", "raw" },
|
D | sndfile.c | 765 case SF_FORMAT_RAW : in sf_format_check() 1256 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_RAW) in sf_command() 2736 format = SF_FORMAT_RAW | SF_FORMAT_ULAW ; in format_from_extension() 2741 format = SF_FORMAT_RAW | SF_FORMAT_ULAW ; in format_from_extension() 2747 format = SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM ; in format_from_extension() 2752 format = SF_FORMAT_RAW | SF_FORMAT_VOX_ADPCM ; in format_from_extension() 2757 format = SF_FORMAT_RAW | SF_FORMAT_GSM610 ; in format_from_extension() 2768 if ((SF_CONTAINER (format)) == SF_FORMAT_RAW) in format_from_extension() 3035 { if ((SF_CONTAINER (sfinfo->format)) == SF_FORMAT_RAW) in psf_open_file() 3125 else if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_RAW) in psf_open_file() [all …]
|
D | gsm610.c | 122 case SF_FORMAT_RAW : in gsm610_init()
|
D | common.c | 1578 CASE_NAME (SF_FORMAT_RAW) ; in str_of_major_format()
|
/third_party/libsnd/examples/ |
D | generate.cs | 59 SF_FORMAT_RAW = 0x040000, /* RAW PCM data. */ enumerator
|
/third_party/lame/frontend/ |
D | get_audio.c | 1086 gs_wfInfo.format = SF_FORMAT_RAW; in open_snd_file() 1131 if ((gs_wfInfo.format & SF_FORMAT_RAW) == SF_FORMAT_RAW) { in open_snd_file() 1159 case SF_FORMAT_RAW: in open_snd_file()
|
/third_party/libsnd/include/ |
D | sndfile.h | 52 SF_FORMAT_RAW = 0x040000, /* RAW PCM data. */ enumerator
|
/third_party/libsnd/docs/ |
D | command.md | 1041 Change the data start offset for files opened up as `SF_FORMAT_RAW`. 1057 For a file opened as format `SF_FORMAT_RAW`, set the data offset to the value
|
D | FAQ.md | 323 the only option is the open the file using the SF_FORMAT_RAW option and guessing
|