From 734544d457cb098c1d434798528670e0bf156cdb Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 20 Jul 2023 18:53:27 +1200 Subject: Completed command API --- src/c_asndfile_command.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/c_asndfile_command.c') diff --git a/src/c_asndfile_command.c b/src/c_asndfile_command.c index 1d86b1c..2955d91 100644 --- a/src/c_asndfile_command.c +++ b/src/c_asndfile_command.c @@ -46,9 +46,14 @@ const int sfc_get_broadcast_info = SFC_GET_BROADCAST_INFO; const int sfc_set_broadcast_info = SFC_SET_BROADCAST_INFO; const int sfc_get_channel_map_info = SFC_GET_CHANNEL_MAP_INFO; const int sfc_set_channel_map_info = SFC_SET_CHANNEL_MAP_INFO; -// ... +const int sfc_get_cart_info = SFC_GET_CART_INFO; +const int sfc_set_cart_info = SFC_SET_CART_INFO; +const int sfc_get_loop_info = SFC_GET_LOOP_INFO; +const int sfc_get_instrument = SFC_GET_INSTRUMENT; +const int sfc_set_instrument = SFC_SET_INSTRUMENT; const int sfc_get_cue_count = SFC_GET_CUE_COUNT; -// ... +const int sfc_get_cue = SFC_GET_CUE; +const int sfc_set_cue = SFC_SET_CUE; const int sfc_rf64_auto_downgrade = SFC_RF64_AUTO_DOWNGRADE; const int sfc_get_original_samplerate = SFC_GET_ORIGINAL_SAMPLERATE; const int sfc_set_original_samplerate = SFC_SET_ORIGINAL_SAMPLERATE; @@ -58,6 +63,11 @@ const int sfc_set_bitrate_mode = SFC_SET_BITRATE_MODE; const int sf_ambisonic_none = SF_AMBISONIC_NONE; const int sf_ambisonic_b_format = SF_AMBISONIC_B_FORMAT; +const int sf_loop_none = SF_LOOP_NONE; +const int sf_loop_forward = SF_LOOP_FORWARD; +const int sf_loop_backward = SF_LOOP_BACKWARD; +const int sf_loop_alternating = SF_LOOP_ALTERNATING; + const int sf_bitrate_mode_constant = SF_BITRATE_MODE_CONSTANT; const int sf_bitrate_mode_average = SF_BITRATE_MODE_AVERAGE; const int sf_bitrate_mode_variable = SF_BITRATE_MODE_VARIABLE; -- cgit