Lines Matching refs:sf_command
105 sf_command (NULL, SFC_GET_LIB_VERSION, buffer, sizeof (buffer)) ; in main()
261 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()
322 sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_TRUE) ; 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()
438 sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_TRUE) ; in double_norm_test()
474 sf_command (NULL, SFC_GET_SIMPLE_FORMAT_COUNT, &count, sizeof (int)) ; in format_tests()
482 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
487 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
505 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
508 sf_command (NULL, SFC_GET_FORMAT_MAJOR_COUNT, &count, sizeof (int)) ; in format_tests()
516 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
521 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
530 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
533 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE_COUNT, &count, sizeof (int)) ; in format_tests()
541 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()
546 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()
549 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()
604 sf_command (file, SFC_CALC_SIGNAL_MAX, &peak, sizeof (peak)) ; in calc_peak_test()
610 sf_command (file, SFC_CALC_NORM_SIGNAL_MAX, &peak, sizeof (peak)) ; in calc_peak_test()
651 sf_command (file, SFC_CALC_SIGNAL_MAX, &peak, sizeof (peak)) ; in calc_peak_test()
657 sf_command (file, SFC_CALC_NORM_SIGNAL_MAX, &peak, sizeof (peak)) ; in calc_peak_test()
687 if (sf_command (file, SFC_FILE_TRUNCATE, &len, sizeof (len))) in truncate_test()
713 if (sf_command (sndfile, SFC_GET_INSTRUMENT, &inst, sizeof (inst)) == SF_TRUE) in instrumet_rw_test()
716 if (sf_command (sndfile, SFC_SET_INSTRUMENT, &inst, sizeof (inst)) == SF_TRUE) in instrumet_rw_test()
725 if (sf_command (sndfile, SFC_UPDATE_HEADER_NOW, NULL, 0) != 0) 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()
903 sf_command (sndfile, SFC_GET_CUE_COUNT, &cues.cue_count, sizeof (cues.cue_count)) != SF_TRUE, in cue_rw_test()
912 if (sf_command (sndfile, SFC_GET_CUE, &cues, sizeof (cues)) == SF_TRUE) in cue_rw_test()
915 if (sf_command (sndfile, SFC_SET_CUE, &cues, sizeof (cues)) == SF_TRUE) in cue_rw_test()
924 if (sf_command (sndfile, SFC_UPDATE_HEADER_NOW, NULL, 0) != 0) in cue_rw_test()
964 if (sf_command (file, SFC_SET_CUE, &write_cue, sizeof (write_cue)) == SF_FALSE) in cue_test()
974 if (sf_command (file, SFC_GET_CUE, &read_cue, sizeof (read_cue)) == SF_FALSE) in cue_test()
1024 if (sf_command (file, SFC_SET_CUE, write_cue, cues_size) == SF_FALSE) in cue_test_var()
1035 if (sf_command (file, SFC_GET_CUE, read_cue, cues_size) == SF_FALSE) in cue_test_var()
1066 sf_command (outfile, SFC_SET_UPDATE_HEADER_AUTO, NULL, 0) ; in current_sf_info_test()
1073 sf_command (outfile, SFC_GET_CURRENT_SF_INFO, &outinfo, sizeof (outinfo)) ; in current_sf_info_test()
1086 sf_command (infile, SFC_GET_CURRENT_SF_INFO, &ininfo, sizeof (ininfo)) ; in current_sf_info_test()
1125 if (sf_command (file, SFC_SET_BROADCAST_INFO, &bc_write, sizeof (bc_write)) == SF_FALSE) in broadcast_test()
1135 if (sf_command (file, SFC_GET_BROADCAST_INFO, &bc_read, sizeof (bc_read)) == SF_FALSE) in broadcast_test()
1212 if (sf_command (file, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) != SF_FALSE) in broadcast_rdwr_test()
1248 if (sf_command (file, SFC_SET_BROADCAST_INFO, &bc_write, sizeof (bc_write)) == SF_FALSE) in check_coding_history_newlines()
1259 if (sf_command (file, SFC_GET_BROADCAST_INFO, &bc_read, sizeof (bc_read)) == SF_FALSE) in check_coding_history_newlines()
1324 if (sf_command (file, SFC_SET_BROADCAST_INFO, &bc_write, sizeof (bc_write)) == SF_FALSE) in broadcast_coding_history_test()
1335 if (sf_command (file, SFC_GET_BROADCAST_INFO, &bc_read, sizeof (bc_read)) == SF_FALSE) in broadcast_coding_history_test()
1358 if (sf_command (file, SFC_SET_BROADCAST_INFO, &bc_write, sizeof (bc_write)) == SF_FALSE) in broadcast_coding_history_test()
1369 if (sf_command (file, SFC_GET_BROADCAST_INFO, &bc_read, sizeof (bc_read)) == SF_FALSE) in broadcast_coding_history_test()
1433 if (sf_command (file, SFC_SET_BROADCAST_INFO, &bc_write, sizeof (bc_write)) == SF_FALSE) in broadcast_coding_history_size()
1444 if (sf_command (file, SFC_GET_BROADCAST_INFO, &bc_read, sizeof (bc_read)) == SF_FALSE) in broadcast_coding_history_size()
1499 if (sf_command (file, SFC_SET_CART_INFO, &ca_write, sizeof (ca_write)) == SF_FALSE) in cart_test()
1508 if (sf_command (file, SFC_GET_CART_INFO, &ca_read, sizeof (ca_read)) == SF_FALSE) in cart_test()
1659 if (sf_command (file, SFC_SET_CART_INFO, &cinfo, sizeof (cinfo)) != SF_FALSE) in cart_rdwr_test()
1704 …sf_command (file, SFC_GET_CHANNEL_MAP_INFO, channel_map_read, sizeof (channel_map_read)) == SF_FAL… in channel_map_test()
1718 …sf_command (file, SFC_SET_CHANNEL_MAP_INFO, channel_map_write, sizeof (channel_map_write)) == SF_F… in channel_map_test()
1727 …sf_command (file, SFC_GET_CHANNEL_MAP_INFO, channel_map_read, sizeof (channel_map_read)) != SF_TRU… in channel_map_test()
1779 needs_endswap = sf_command (file, SFC_RAW_DATA_NEEDS_ENDSWAP, NULL, 0) ; in raw_needs_endswap_test()