Home
last modified time | relevance | path

Searched refs:SF_FORMAT_SUBMASK (Results 1 – 25 of 29) sorted by relevance

12

/third_party/libsnd/programs/
Dcommon.c116 infileminor = SF_FORMAT_SUBMASK & format ; in merge_broadcast_info()
249 sfinfo.format = SF_FORMAT_WAV | (SF_FORMAT_SUBMASK & sfinfo.format) ; in sfe_apply_metadata_changes()
271 { int infileminor = SF_FORMAT_SUBMASK & sfinfo.format ; in sfe_apply_metadata_changes()
356 format &= SF_FORMAT_SUBMASK ; in sfe_file_type_of_ext()
370 { if (format_map [k].format & SF_FORMAT_SUBMASK) in sfe_file_type_of_ext()
390 if (format_map [k].format & SF_FORMAT_SUBMASK) in sfe_dump_format_map()
391 { info.format = format_map [k].format & SF_FORMAT_SUBMASK ; in sfe_dump_format_map()
468 switch (format & SF_FORMAT_SUBMASK) in sfe_codec_name()
Dsndfile-convert.c112 sfinfo->format = old_format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ; in report_format_error_exit()
300 infileminor = sfinfo.format & SF_FORMAT_SUBMASK ; in main()
310 outfileminor = sfinfo.format & SF_FORMAT_SUBMASK ; in main()
315 sfinfo.format = outfilemajor | (sfinfo.format & SF_FORMAT_SUBMASK) ; in main()
320 switch (sfinfo.format & SF_FORMAT_SUBMASK) in main()
336 if ((sfinfo.format & SF_FORMAT_SUBMASK) == SF_FORMAT_GSM610 && sfinfo.samplerate != 8000) in main()
Dsndfile-concat.c118 if ((sfinfo_out.format & SF_FORMAT_SUBMASK) == SF_FORMAT_DOUBLE || in main()
119 (sfinfo_out.format & SF_FORMAT_SUBMASK) == SF_FORMAT_FLOAT) in main()
Dsndfile-salvage.c133 sfinfo.format = SF_FORMAT_W64 | (sfinfo.format & SF_FORMAT_SUBMASK) ; in salvage_file()
141 switch (sfinfo.format & SF_FORMAT_SUBMASK) in salvage_file()
Dsndfile-deinterleave.c140 switch (sfinfo.format & SF_FORMAT_SUBMASK) in main()
Dsndfile-interleave.c113 switch (sfinfo.format & SF_FORMAT_SUBMASK) in main()
Dsndfile-play.c115 subformat = sfinfo.format & SF_FORMAT_SUBMASK ; in alsa_play()
385 subformat = sfinfo.format & SF_FORMAT_SUBMASK ; in opensoundsys_play()
Dsndfile-info.c148 switch (sfinfo->format & SF_FORMAT_SUBMASK) in calc_decibels()
/third_party/libsnd/tests/
Dlossy_comp_test.c685 …(sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF… in lcomp_test_short()
883 …(sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF… in lcomp_test_int()
933 if ((sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_MS_ADPCM) in lcomp_test_int()
1072 …(sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF… in lcomp_test_float()
1128 if ((sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_MS_ADPCM) in lcomp_test_float()
1267 …(sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF… in lcomp_test_double()
1323 if ((sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_MS_ADPCM) in lcomp_test_double()
1479 if ((filetype & SF_FORMAT_SUBMASK) == SF_FORMAT_OPUS && !check_opus_version (file)) in sdlcomp_test_short()
1548 if ((sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_MS_ADPCM && in sdlcomp_test_short()
1549 (sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_GSM610) in sdlcomp_test_short()
[all …]
Dfix_this.c129 …(sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF… in lcomp_test_int()
179 if ((sfinfo.format & SF_FORMAT_SUBMASK) != SF_FORMAT_MS_ADPCM) in lcomp_test_int()
Dscale_clip_test.tpl164 sfinfo.format &= (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ;
166 if (sfinfo.format != (filetype & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)))
298 sfinfo.format &= (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ;
300 if (sfinfo.format != (filetype & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)))
377 sfinfo.format &= (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ;
379 if (sfinfo.format != (filetype & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)))
Dwrite_read_test.tpl473 if ((format & SF_FORMAT_SUBMASK) == SF_FORMAT_DWVW_16 ||
474 (format & SF_FORMAT_SUBMASK) == SF_FORMAT_DWVW_24)
481 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_16
482 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_20
483 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_24
484 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_32
503 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_16
504 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_20
505 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_24
506 && (format & SF_FORMAT_SUBMASK) != SF_FORMAT_ALAC_32
[all …]
Dchunk_test.c115 switch (format & SF_FORMAT_SUBMASK) in chunk_test_helper()
209 switch (format & SF_FORMAT_SUBMASK) in multichunk_test_helper()
Dexternal_libs_test.c141 switch (info.format & SF_FORMAT_SUBMASK) in simple_format_test()
Dheaderless_test.c63 format &= SF_FORMAT_SUBMASK ; in headerless_test()
Dbenchmark.tpl234 subtype = get_subtype_str (format & SF_FORMAT_SUBMASK) ;
/third_party/libsnd/regtest/
Dchecksum.c51 switch (info->format & SF_FORMAT_SUBMASK) in calc_checksum()
/third_party/libsnd/examples/
Dgenerate.cs113 SF_FORMAT_SUBMASK = 0x0000FFFF, enumerator
/third_party/libsnd/Octave/
Dsndfile.cc351 switch (format & SF_FORMAT_SUBMASK) in string_of_minor_format()
/third_party/libsnd/src/
Drf64.c113 subformat = psf->sf.format & SF_FORMAT_SUBMASK ; in rf64_open()
531 subformat = psf->sf.format & SF_FORMAT_SUBMASK ; in rf64_write_fmt_chunk()
Dwavlike.c560 psf->sf.format = (psf->sf.format & ~SF_FORMAT_SUBMASK) + format ; in wavlike_analyze()
567 psf->sf.format = (psf->sf.format & ~SF_FORMAT_SUBMASK) + format ; in wavlike_analyze()
Dcommon.h105 #define SF_CODEC(x) ((x) & SF_FORMAT_SUBMASK)
/third_party/pulseaudio/src/pulsecore/
Dsndfile-util.c46 switch (sfi.format & SF_FORMAT_SUBMASK) { in pa_sndfile_read_sample_spec()
/third_party/libsnd/include/
Dsndfile.h131 SF_FORMAT_SUBMASK = 0x0000FFFF, enumerator
/third_party/libsnd/docs/
Dlinux_games_programming.txt361 if (file_info.format & SF_FORMAT_SUBMASK != SF_FORMAT_PCM_16)
373 switch (file_info.format & SF_FORMAT_SUBMASK + file_info.channels << 16)

12