API adapting in progress

parent f02d399a
......@@ -2,7 +2,7 @@
#include "vasingletondoc.hpp"
// All Python 2 VA methods. Also pulls in g_pVAError (Python error trace instance)
// All Python to VA methods. Also pulls in g_pVAError (Python error trace instance)
#include "vasingletonmethods.hpp"
// VA methods that will appear in Python if they are added to the following table
......@@ -10,158 +10,146 @@
static struct PyMethodDef va_methods[] =
{
{ "connect", ( PyCFunction ) va_connect, METH_FASTCALL, va_connect_doc },
{ "disconnect", ( PyCFunction ) va_disconnect, METH_FASTCALL, va_no_doc },
{ "is_connected", ( PyCFunction ) va_is_connected, METH_FASTCALL, va_no_doc },
{ "reset", ( PyCFunction ) va_reset, METH_FASTCALL, va_no_doc },
{ "enumerate_modules", ( PyCFunction ) va_enumerate_modules, METH_FASTCALL, va_no_doc },
{ "call_module", ( PyCFunction ) va_call_module, METH_FASTCALL, va_no_doc },
{ "add_search_path", ( PyCFunction ) va_add_search_path, METH_FASTCALL, va_no_doc },
{ "load_directivity", ( PyCFunction ) va_load_directivity, METH_FASTCALL, va_no_doc },
{ "free_directivity", ( PyCFunction ) va_free_directivity, METH_FASTCALL, va_no_doc },
{ "get_directivity_info", ( PyCFunction ) va_get_directivity_info, METH_FASTCALL, va_no_doc },
{ "get_directivity_infos", ( PyCFunction ) va_get_directivity_infos, METH_FASTCALL, va_no_doc },
{ "load_hrir", ( PyCFunction )va_load_hrir, METH_FASTCALL, va_no_doc },
{ "free_hrir", ( PyCFunction )va_free_hrir, METH_FASTCALL, va_no_doc },
{ "get_hrir_info", ( PyCFunction )va_get_hrir_info, METH_FASTCALL, va_no_doc },
{ "get_hrir_infos", ( PyCFunction )va_get_hrir_infos, METH_FASTCALL, va_no_doc },
{ "create_audio_file_signal_source", (PyCFunction)va_create_audio_file_signal_source, METH_FASTCALL, va_no_doc },
{ "create_text_to_speech_signal_source", ( PyCFunction ) va_create_text_to_speech_signal_source, METH_FASTCALL, va_no_doc },
{ "create_sequencer_signal_source", ( PyCFunction ) va_create_sequencer_signal_source, METH_FASTCALL, va_no_doc },
{ "create_network_stream_signal_source", ( PyCFunction ) va_create_network_stream_signal_source, METH_FASTCALL, va_no_doc },
{ "create_engine_signal_source", ( PyCFunction ) va_create_engine_signal_source, METH_FASTCALL, va_no_doc },
{ "create_machine_signal_source", ( PyCFunction ) va_create_machine_signal_source, METH_FASTCALL, va_no_doc },
{ "delete_signal_source", ( PyCFunction ) va_delete_signal_source, METH_FASTCALL, va_no_doc },
{ "get_signal_source_info", ( PyCFunction ) va_get_signal_source_info, METH_FASTCALL, va_no_doc },
{ "get_signal_source_infos", (PyCFunction)va_get_signal_source_infos, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_state", (PyCFunction)va_get_audio_file_signal_source_playback_state, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_state_str", (PyCFunction)va_get_audio_file_signal_source_playback_state_str, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_action", (PyCFunction)va_set_audio_file_signal_source_playback_action, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_action_str", (PyCFunction)va_set_audio_file_signal_source_playback_action_str, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_position", (PyCFunction)va_set_audio_file_signal_source_playback_position, METH_FASTCALL, va_no_doc },
{ "get_audio_file_signal_source_playback_is_looping", (PyCFunction)va_get_audio_file_signal_source_playback_is_looping, METH_FASTCALL, va_no_doc },
{ "set_audio_file_signal_source_playback_is_looping", (PyCFunction)va_set_audio_file_signal_source_playback_is_looping, METH_FASTCALL, va_no_doc },
{ "start_machine_signal_source", (PyCFunction)va_start_machine_signal_source, METH_FASTCALL, va_no_doc },
{ "halt_machine_signal_source", (PyCFunction)va_halt_machine_signal_source, METH_FASTCALL, va_no_doc },
{ "get_machine_signal_source_state_str", ( PyCFunction ) va_get_machine_signal_source_state_str, METH_FASTCALL, va_no_doc },
{ "set_machine_signal_source_speed", ( PyCFunction ) va_set_machine_signal_source_speed, METH_FASTCALL, va_no_doc },
{ "get_machine_signal_source_speed", ( PyCFunction ) va_get_machine_signal_source_speed, METH_FASTCALL, va_no_doc },
{ "set_machine_signal_source_start_file", ( PyCFunction ) va_set_machine_signal_source_start_file, METH_FASTCALL, va_no_doc },
{ "set_machine_signal_source_idle_file", ( PyCFunction ) va_set_machine_signal_source_idle_file, METH_FASTCALL, va_no_doc },
{ "set_machine_signal_source_stop_file", ( PyCFunction ) va_set_machine_signal_source_stop_file, METH_FASTCALL, va_no_doc },
{ "set_signal_source_parameters", ( PyCFunction ) va_set_signal_source_parameters, METH_FASTCALL, va_no_doc },
{ "get_signal_source_parameters", ( PyCFunction ) va_get_signal_source_parameters, METH_FASTCALL, va_no_doc },
{ "is_scene_locked", ( PyCFunction ) va_is_scene_locked, METH_FASTCALL, va_no_doc },
{ "lock_scene", ( PyCFunction ) va_lock_scene, METH_FASTCALL, va_no_doc },
{ "unlock_scene", ( PyCFunction ) va_unlock_scene, METH_FASTCALL, va_no_doc },
{ "get_sound_source_ids", ( PyCFunction ) va_get_sound_source_ids, METH_FASTCALL, va_no_doc },
{ "create_sound_source", ( PyCFunction ) va_create_sound_source, METH_FASTCALL, va_no_doc },
{ "create_sound_source_explicit_renderer", ( PyCFunction ) va_create_sound_source_explicit_renderer, METH_FASTCALL, va_no_doc },
{ "delete_sound_source", ( PyCFunction ) va_delete_sound_source, METH_FASTCALL, va_no_doc },
{ "set_sound_source_enabled", ( PyCFunction ) va_set_sound_source_enabled, METH_FASTCALL, va_no_doc },
{ "get_sound_source_enabled", ( PyCFunction ) va_get_sound_source_enabled, METH_FASTCALL, va_no_doc },
{ "get_sound_source_name", ( PyCFunction ) va_get_sound_source_name, METH_FASTCALL, va_no_doc },
{ "set_sound_source_enabled", ( PyCFunction ) va_set_sound_source_enabled, METH_FASTCALL, va_no_doc },
{ "get_sound_source_signal_source", ( PyCFunction ) va_get_sound_source_signal_source, METH_FASTCALL, va_no_doc },
{ "set_sound_source_signal_source", ( PyCFunction ) va_set_sound_source_signal_source, METH_FASTCALL, va_no_doc },
{ "remove_sound_source_signal_source", ( PyCFunction ) va_remove_sound_source_signal_source, METH_FASTCALL, va_no_doc },
{ "get_sound_source_auralization_mode", ( PyCFunction ) va_get_sound_source_auralization_mode, METH_FASTCALL, va_no_doc },
{ "set_sound_source_auralization_mode", ( PyCFunction ) va_set_sound_source_auralization_mode, METH_FASTCALL, va_no_doc },
{ "set_sound_source_parameters", ( PyCFunction ) va_set_sound_source_parameters, METH_FASTCALL, va_no_doc },
{ "get_sound_source_parameters", ( PyCFunction ) va_get_sound_source_parameters, METH_FASTCALL, va_no_doc },
{ "get_sound_source_directivity", ( PyCFunction ) va_get_sound_source_directivity, METH_FASTCALL, va_no_doc },
{ "set_sound_source_directivity", ( PyCFunction ) va_set_sound_source_directivity, METH_FASTCALL, va_no_doc },
{ "get_sound_source_volume", ( PyCFunction ) va_get_sound_source_volume, METH_FASTCALL, va_no_doc },
{ "set_sound_source_volume", ( PyCFunction ) va_set_sound_source_volume, METH_FASTCALL, va_no_doc },
{ "is_sound_source_muted", ( PyCFunction ) va_is_sound_source_muted, METH_FASTCALL, va_no_doc },
{ "set_sound_source_muted", ( PyCFunction ) va_set_sound_source_muted, METH_FASTCALL, va_no_doc },
{ "get_sound_source_position", ( PyCFunction ) va_get_sound_source_position, METH_FASTCALL, va_no_doc },
{ "set_sound_source_position", ( PyCFunction ) va_set_sound_source_position, METH_FASTCALL, va_no_doc },
{ "get_sound_source_orientation_vu", ( PyCFunction ) va_get_sound_source_orientation_vu, METH_FASTCALL, va_no_doc },
{ "set_sound_source_orientation_vu", ( PyCFunction ) va_set_sound_source_orientation_vu, METH_FASTCALL, va_no_doc },
{ "get_sound_source_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "set_sound_source_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "get_listener_ids", ( PyCFunction ) va_get_listener_ids, METH_FASTCALL, va_no_doc },
{ "create_listener", ( PyCFunction ) va_create_listener, METH_FASTCALL, va_no_doc },
{ "create_listener_explicit_renderer", ( PyCFunction ) va_create_listener_explicit_renderer, METH_FASTCALL, va_no_doc },
{ "delete_listener", ( PyCFunction ) va_delete_listener, METH_FASTCALL, va_no_doc },
{ "set_listener_enabled", ( PyCFunction ) va_set_listener_enabled, METH_FASTCALL, va_no_doc },
{ "get_listener_enabled", ( PyCFunction ) va_get_listener_enabled, METH_FASTCALL, va_no_doc },
{ "get_listener_name", ( PyCFunction ) va_get_listener_name, METH_FASTCALL, va_no_doc },
{ "set_listener_enabled", ( PyCFunction ) va_set_listener_enabled, METH_FASTCALL, va_no_doc },
{ "get_listener_auralization_mode", ( PyCFunction ) va_get_listener_auralization_mode, METH_FASTCALL, va_no_doc },
{ "set_listener_auralization_mode", ( PyCFunction ) va_set_listener_auralization_mode, METH_FASTCALL, va_no_doc },
{ "set_listener_parameters", ( PyCFunction ) va_set_listener_parameters, METH_FASTCALL, va_no_doc },
{ "get_listener_parameters", ( PyCFunction ) va_get_listener_parameters, METH_FASTCALL, va_no_doc },
{ "get_listener_hrir", ( PyCFunction ) va_get_listener_hrir, METH_FASTCALL, va_no_doc },
{ "set_listener_hrir", ( PyCFunction ) va_set_listener_hrir, METH_FASTCALL, va_no_doc },
{ "get_listener_position", ( PyCFunction ) va_get_listener_position, METH_FASTCALL, va_no_doc },
{ "set_listener_position", ( PyCFunction ) va_set_listener_position, METH_FASTCALL, va_no_doc },
{ "get_listener_orientation_vu", ( PyCFunction ) va_get_listener_orientation_vu, METH_FASTCALL, va_no_doc },
{ "set_listener_orientation_vu", ( PyCFunction ) va_set_listener_orientation_vu, METH_FASTCALL, va_no_doc },
{ "get_listener_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "set_listener_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "get_listener_real_world_position", ( PyCFunction ) va_get_listener_real_world_position, METH_FASTCALL, va_no_doc },
{ "set_listener_real_world_position", ( PyCFunction ) va_set_listener_real_world_position, METH_FASTCALL, va_no_doc },
{ "get_listener_real_world_orientation_vu", ( PyCFunction ) va_get_listener_real_world_orientation_vu, METH_FASTCALL, va_no_doc },
{ "set_listener_real_world_orientation_vu", ( PyCFunction ) va_set_listener_real_world_orientation_vu, METH_FASTCALL, va_no_doc },
{ "get_listener_real_world_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "set_listener_real_world_orientation_q", ( PyCFunction ) va_not_implemented, METH_FASTCALL, va_no_doc },
{ "load_scene", ( PyCFunction ) va_load_scene, METH_FASTCALL, va_no_doc },
{ "is_scene_loaded", ( PyCFunction ) va_is_scene_loaded, METH_FASTCALL, va_no_doc },
{ "get_scene_info", ( PyCFunction ) va_get_scene_info, METH_FASTCALL, va_no_doc },
{ "get_portal_ids", ( PyCFunction ) va_get_portal_ids, METH_FASTCALL, va_no_doc },
{ "get_portal_name", ( PyCFunction ) va_get_portal_name, METH_FASTCALL, va_no_doc },
{ "set_portal_name", ( PyCFunction ) va_set_portal_name, METH_FASTCALL, va_no_doc },
{ "get_portal_state", ( PyCFunction ) va_get_portal_state, METH_FASTCALL, va_no_doc },
{ "set_portal_state", ( PyCFunction ) va_set_portal_state, METH_FASTCALL, va_no_doc },
{ "get_rendering_modules", ( PyCFunction ) va_get_rendering_modules, METH_FASTCALL, va_no_doc },
{ "set_rendering_module_muted", ( PyCFunction ) va_set_rendering_module_muted, METH_FASTCALL, va_no_doc },
{ "is_rendering_module_muted", ( PyCFunction ) va_is_rendering_module_muted, METH_FASTCALL, va_no_doc },
{ "set_rendering_module_gain", ( PyCFunction ) va_set_rendering_module_gain, METH_FASTCALL, va_no_doc },
{ "get_rendering_module_gain", ( PyCFunction ) va_get_rendering_module_gain, METH_FASTCALL, va_no_doc },
{ "get_reprodution_modules", ( PyCFunction ) va_get_reproduction_modules, METH_FASTCALL, va_no_doc },
{ "set_reprodution_module_muted", ( PyCFunction ) va_set_reproduction_module_muted, METH_FASTCALL, va_no_doc },
{ "is_reprodution_module_muted", ( PyCFunction ) va_is_reproduction_module_muted, METH_FASTCALL, va_no_doc },
{ "set_reprodution_module_gain", ( PyCFunction ) va_set_reproduction_module_gain, METH_FASTCALL, va_no_doc },
{ "get_reprodution_module_gain", ( PyCFunction ) va_get_reproduction_module_gain, METH_FASTCALL, va_no_doc },
{ "get_input_gain", ( PyCFunction )va_get_input_gain, METH_FASTCALL, va_no_doc },
{ "set_input_gain", ( PyCFunction )va_set_input_gain, METH_FASTCALL, va_no_doc },
{ "is_input_muted", ( PyCFunction )va_is_input_muted, METH_FASTCALL, va_no_doc },
{ "set_input_muted", ( PyCFunction )va_set_input_muted, METH_FASTCALL, va_no_doc },
{ "get_output_gain", ( PyCFunction )va_get_output_gain, METH_FASTCALL, va_no_doc },
{ "set_output_gain", ( PyCFunction )va_set_output_gain, METH_FASTCALL, va_no_doc },
{ "is_output_muted", ( PyCFunction )va_is_output_muted, METH_FASTCALL, va_no_doc },
{ "set_output_muted", ( PyCFunction )va_set_output_muted, METH_FASTCALL, va_no_doc },
{ "get_global_auralization_mode", ( PyCFunction ) va_get_global_auralization_mode, METH_FASTCALL, va_no_doc },
{ "set_global_auralization_mode", (PyCFunction)va_set_global_auralization_mode, METH_FASTCALL, va_no_doc },
{ "get_active_listener", (PyCFunction)va_get_active_listener, METH_FASTCALL, va_no_doc },
{ "set_active_listener", (PyCFunction)va_set_active_listener, METH_FASTCALL, va_no_doc },
{ "get_active_listener_explicit_renderer", ( PyCFunction ) va_get_active_listener_explicit_renderer, METH_FASTCALL, va_no_doc },
{ "set_active_listener_explicit_renderer", ( PyCFunction ) va_set_active_listener_explicit_renderer, METH_FASTCALL, va_no_doc },
{ "get_core_clock", ( PyCFunction )va_get_core_clock, METH_FASTCALL, va_no_doc },
{ "set_core_clock", ( PyCFunction )va_set_core_clock, METH_FASTCALL, va_no_doc },
{ "substitute_macro", ( PyCFunction )va_substitute_macro, METH_FASTCALL, va_no_doc },
{ "find_file_path", ( PyCFunction )va_find_file_path, METH_FASTCALL, va_no_doc },
{ "get_log_level_str", ( PyCFunction )va_get_log_level_str, METH_FASTCALL, va_no_doc },
{ "parse_auralization_mode_str", ( PyCFunction )va_parse_auralization_mode_str, METH_FASTCALL, va_no_doc },
{ "get_auralization_mode_str", ( PyCFunction )va_get_auralization_mode_str, METH_FASTCALL, va_no_doc },
{ "get_volume_str_decibel", ( PyCFunction )va_get_volume_str_decibel, METH_FASTCALL, va_no_doc },
{ "parse_playback_state_str", ( PyCFunction )va_parse_playback_state_str, METH_FASTCALL, va_no_doc },
{ "get_playback_state_str", ( PyCFunction )va_get_playback_state_str, METH_FASTCALL, va_no_doc },
{ "parse_playback_action_str", ( PyCFunction )va_parse_playback_action_str, METH_FASTCALL, va_no_doc },
{ "get_playback_action_str", ( PyCFunction )va_get_playback_action_str, METH_FASTCALL, va_no_doc },
{ "connect", ( PyCFunction ) connect, METH_FASTCALL, connect_doc },
{ "disconnect", ( PyCFunction ) disconnect, METH_FASTCALL, no_doc },
{ "is_connected", ( PyCFunction ) is_connected, METH_FASTCALL, no_doc },
{ "reset", ( PyCFunction ) reset, METH_FASTCALL, no_doc },
{ "get_modules", ( PyCFunction ) get_modules, METH_FASTCALL, no_doc },
{ "call_module", ( PyCFunction ) call_module, METH_FASTCALL, no_doc },
{ "add_search_path", ( PyCFunction ) add_search_path, METH_FASTCALL, no_doc },
{ "create_directivity_from_file", ( PyCFunction ) create_directivity_from_file, METH_FASTCALL, no_doc },
{ "delete_directivity", ( PyCFunction ) delete_directivity, METH_FASTCALL, no_doc },
{ "get_directivity_info", ( PyCFunction ) get_directivity_info, METH_FASTCALL, no_doc },
{ "get_directivity_infos", ( PyCFunction ) get_directivity_infos, METH_FASTCALL, no_doc },
{ "create_signal_source_buffer_from_file", ( PyCFunction ) create_signal_source_buffer_from_file, METH_FASTCALL, no_doc },
{ "create_signal_source_text_to_speech", ( PyCFunction ) create_signal_source_text_to_speech, METH_FASTCALL, no_doc },
{ "create_signal_source_sequencer", ( PyCFunction ) create_signal_source_sequencer, METH_FASTCALL, no_doc },
{ "create_signal_source_network_stream", ( PyCFunction ) create_signal_source_network_stream, METH_FASTCALL, no_doc },
{ "create_signal_source_engine", ( PyCFunction ) create_signal_source_engine, METH_FASTCALL, no_doc },
{ "create_signal_source_machine", ( PyCFunction ) create_signal_source_machine, METH_FASTCALL, no_doc },
{ "delete_signal_source", ( PyCFunction ) delete_signal_source, METH_FASTCALL, no_doc },
{ "get_signal_source_info", ( PyCFunction ) get_signal_source_info, METH_FASTCALL, no_doc },
{ "get_signal_source_infos", ( PyCFunction ) get_signal_source_infos, METH_FASTCALL, no_doc },
{ "get_signal_source_buffer_playback_state", ( PyCFunction ) get_signal_source_buffer_playback_state, METH_FASTCALL, no_doc },
{ "get_signal_source_buffer_playback_state_str", ( PyCFunction ) get_signal_source_buffer_playback_state_str, METH_FASTCALL, no_doc },
{ "set_signal_source_buffer_playback_action", ( PyCFunction ) set_signal_source_buffer_playback_action, METH_FASTCALL, no_doc },
{ "set_signal_source_buffer_playback_action_str", ( PyCFunction ) set_signal_source_buffer_playback_action_str, METH_FASTCALL, no_doc },
{ "set_signal_source_buffer_playback_position", ( PyCFunction ) set_signal_source_buffer_playback_position, METH_FASTCALL, no_doc },
{ "get_signal_source_buffer_looping", ( PyCFunction ) get_signal_source_buffer_looping, METH_FASTCALL, no_doc },
{ "set_signal_source_buffer_looping", ( PyCFunction ) set_signal_source_buffer_looping, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_start_machine", ( PyCFunction ) set_signal_source_machine_start_machine, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_halt_machine", ( PyCFunction ) set_signal_source_machine_halt_machine, METH_FASTCALL, no_doc },
{ "get_signal_source_machine_state_str", ( PyCFunction ) get_signal_source_machine_state_str, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_speed", ( PyCFunction ) set_signal_source_machine_speed, METH_FASTCALL, no_doc },
{ "get_signal_source_machine_speed", ( PyCFunction ) get_signal_source_machine_speed, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_start_file", ( PyCFunction ) set_signal_source_machine_start_file, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_idle_file", ( PyCFunction ) set_signal_source_machine_idle_file, METH_FASTCALL, no_doc },
{ "set_signal_source_machine_stop_file", ( PyCFunction ) set_signal_source_machine_stop_file, METH_FASTCALL, no_doc },
{ "set_signal_source_parameters", ( PyCFunction ) set_signal_source_parameters, METH_FASTCALL, no_doc },
{ "get_signal_source_parameters", ( PyCFunction ) get_signal_source_parameters, METH_FASTCALL, no_doc },
{ "get_sound_source_ids", ( PyCFunction ) get_sound_source_ids, METH_FASTCALL, no_doc },
{ "create_sound_source", ( PyCFunction ) create_sound_source, METH_FASTCALL, no_doc },
{ "create_sound_source_explicit_renderer", ( PyCFunction ) create_sound_source_explicit_renderer, METH_FASTCALL, no_doc },
{ "delete_sound_source", ( PyCFunction ) delete_sound_source, METH_FASTCALL, no_doc },
{ "set_sound_source_enabled", ( PyCFunction ) set_sound_source_enabled, METH_FASTCALL, no_doc },
{ "get_sound_source_enabled", ( PyCFunction ) get_sound_source_enabled, METH_FASTCALL, no_doc },
{ "get_sound_source_name", ( PyCFunction ) get_sound_source_name, METH_FASTCALL, no_doc },
{ "set_sound_source_enabled", ( PyCFunction ) set_sound_source_enabled, METH_FASTCALL, no_doc },
{ "get_sound_source_signal_source", ( PyCFunction ) get_sound_source_signal_source, METH_FASTCALL, no_doc },
{ "set_sound_source_signal_source", ( PyCFunction ) set_sound_source_signal_source, METH_FASTCALL, no_doc },
{ "remove_sound_source_signal_source", ( PyCFunction ) remove_sound_source_signal_source, METH_FASTCALL, no_doc },
{ "get_sound_source_auralization_mode", ( PyCFunction ) get_sound_source_auralization_mode, METH_FASTCALL, no_doc },
{ "set_sound_source_auralization_mode", ( PyCFunction ) set_sound_source_auralization_mode, METH_FASTCALL, no_doc },
{ "set_sound_source_parameters", ( PyCFunction ) set_sound_source_parameters, METH_FASTCALL, no_doc },
{ "get_sound_source_parameters", ( PyCFunction ) get_sound_source_parameters, METH_FASTCALL, no_doc },
{ "get_sound_source_directivity", ( PyCFunction ) get_sound_source_directivity, METH_FASTCALL, no_doc },
{ "set_sound_source_directivity", ( PyCFunction ) set_sound_source_directivity, METH_FASTCALL, no_doc },
{ "get_sound_source_sound_power", ( PyCFunction ) get_sound_source_sound_power, METH_FASTCALL, no_doc },
{ "set_sound_source_sound_power", ( PyCFunction ) set_sound_source_sound_power, METH_FASTCALL, no_doc },
{ "get_sound_source_muted", ( PyCFunction ) get_sound_source_muted, METH_FASTCALL, no_doc },
{ "set_sound_source_muted", ( PyCFunction ) set_sound_source_muted, METH_FASTCALL, no_doc },
{ "get_sound_source_position", ( PyCFunction ) get_sound_source_position, METH_FASTCALL, no_doc },
{ "set_sound_source_position", ( PyCFunction ) set_sound_source_position, METH_FASTCALL, no_doc },
{ "get_sound_source_orientation_vu", ( PyCFunction ) get_sound_source_orientation_vu, METH_FASTCALL, no_doc },
{ "set_sound_source_orientation_vu", ( PyCFunction ) set_sound_source_orientation_vu, METH_FASTCALL, no_doc },
{ "get_sound_source_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "set_sound_source_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "get_sound_receiver_ids", ( PyCFunction ) get_sound_receiver_ids, METH_FASTCALL, no_doc },
{ "create_sound_receiver", ( PyCFunction ) create_sound_receiver, METH_FASTCALL, no_doc },
{ "create_sound_receiver_explicit_renderer", ( PyCFunction ) create_sound_receiver_explicit_renderer, METH_FASTCALL, no_doc },
{ "delete_sound_receiver", ( PyCFunction ) delete_sound_receiver, METH_FASTCALL, no_doc },
{ "set_sound_receiver_enabled", ( PyCFunction ) set_sound_receiver_enabled, METH_FASTCALL, no_doc },
{ "get_sound_receiver_enabled", ( PyCFunction ) get_sound_receiver_enabled, METH_FASTCALL, no_doc },
{ "get_sound_receiver_name", ( PyCFunction ) get_sound_receiver_name, METH_FASTCALL, no_doc },
{ "set_sound_receiver_enabled", ( PyCFunction ) set_sound_receiver_enabled, METH_FASTCALL, no_doc },
{ "get_sound_receiver_auralization_mode", ( PyCFunction ) get_sound_receiver_auralization_mode, METH_FASTCALL, no_doc },
{ "set_sound_receiver_auralization_mode", ( PyCFunction ) set_sound_receiver_auralization_mode, METH_FASTCALL, no_doc },
{ "set_sound_receiver_parameters", ( PyCFunction ) set_sound_receiver_parameters, METH_FASTCALL, no_doc },
{ "get_sound_receiver_parameters", ( PyCFunction ) get_sound_receiver_parameters, METH_FASTCALL, no_doc },
{ "get_sound_receiver_directivity", ( PyCFunction ) get_sound_receiver_directivity, METH_FASTCALL, no_doc },
{ "get_sound_receiver_directivity", ( PyCFunction ) get_sound_receiver_directivity, METH_FASTCALL, no_doc },
{ "get_sound_receiver_position", ( PyCFunction ) get_sound_receiver_position, METH_FASTCALL, no_doc },
{ "set_sound_receiver_position", ( PyCFunction ) set_sound_receiver_position, METH_FASTCALL, no_doc },
{ "get_sound_receiver_orientation_vu", ( PyCFunction ) get_sound_receiver_orientation_vu, METH_FASTCALL, no_doc },
{ "set_sound_receiver_orientation_vu", ( PyCFunction ) set_sound_receiver_orientation_vu, METH_FASTCALL, no_doc },
{ "get_sound_receiver_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "set_sound_receiver_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "get_sound_receiver_real_world_position", ( PyCFunction ) get_sound_receiver_real_world_position, METH_FASTCALL, no_doc },
{ "set_sound_receiver_real_world_position", ( PyCFunction ) set_sound_receiver_real_world_position, METH_FASTCALL, no_doc },
{ "get_sound_receiver_real_world_orientation_vu", ( PyCFunction ) get_sound_receiver_real_world_orientation_vu, METH_FASTCALL, no_doc },
{ "set_sound_receiver_real_world_orientation_vu", ( PyCFunction ) set_sound_receiver_real_world_orientation_vu, METH_FASTCALL, no_doc },
{ "get_sound_receiver_real_world_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "set_sound_receiver_real_world_orientation_q", ( PyCFunction ) not_implemented, METH_FASTCALL, no_doc },
{ "get_sound_portal_ids", ( PyCFunction ) get_sound_portal_ids, METH_FASTCALL, no_doc },
{ "get_sound_portal_name", ( PyCFunction ) get_sound_portal_name, METH_FASTCALL, no_doc },
{ "set_sound_portal_name", ( PyCFunction ) set_sound_portal_name, METH_FASTCALL, no_doc },
{ "get_sound_portal_enabled", ( PyCFunction ) get_sound_portal_enabled, METH_FASTCALL, no_doc },
{ "set_sound_portal_enabled", ( PyCFunction ) set_sound_portal_enabled, METH_FASTCALL, no_doc },
{ "get_rendering_modules", ( PyCFunction ) get_rendering_modules, METH_FASTCALL, no_doc },
{ "set_rendering_module_muted", ( PyCFunction ) set_rendering_module_muted, METH_FASTCALL, no_doc },
{ "is_rendering_module_muted", ( PyCFunction ) is_rendering_module_muted, METH_FASTCALL, no_doc },
{ "set_rendering_module_gain", ( PyCFunction ) set_rendering_module_gain, METH_FASTCALL, no_doc },
{ "get_rendering_module_gain", ( PyCFunction ) get_rendering_module_gain, METH_FASTCALL, no_doc },
{ "get_reprodution_modules", ( PyCFunction ) get_reproduction_modules, METH_FASTCALL, no_doc },
{ "set_reprodution_module_muted", ( PyCFunction ) set_reproduction_module_muted, METH_FASTCALL, no_doc },
{ "is_reprodution_module_muted", ( PyCFunction ) is_reproduction_module_muted, METH_FASTCALL, no_doc },
{ "set_reprodution_module_gain", ( PyCFunction ) set_reproduction_module_gain, METH_FASTCALL, no_doc },
{ "get_reprodution_module_gain", ( PyCFunction ) get_reproduction_module_gain, METH_FASTCALL, no_doc },
{ "get_input_gain", ( PyCFunction ) get_input_gain, METH_FASTCALL, no_doc },
{ "set_input_gain", ( PyCFunction ) set_input_gain, METH_FASTCALL, no_doc },
{ "is_input_muted", ( PyCFunction ) is_input_muted, METH_FASTCALL, no_doc },
{ "set_input_muted", ( PyCFunction ) set_input_muted, METH_FASTCALL, no_doc },
{ "get_output_gain", ( PyCFunction ) get_output_gain, METH_FASTCALL, no_doc },
{ "set_output_gain", ( PyCFunction ) set_output_gain, METH_FASTCALL, no_doc },
{ "is_output_muted", ( PyCFunction ) is_output_muted, METH_FASTCALL, no_doc },
{ "set_output_muted", ( PyCFunction ) set_output_muted, METH_FASTCALL, no_doc },
{ "get_global_auralization_mode", ( PyCFunction ) get_global_auralization_mode, METH_FASTCALL, no_doc },
{ "set_global_auralization_mode", ( PyCFunction ) set_global_auralization_mode, METH_FASTCALL, no_doc },
{ "get_active_sound_receiver", ( PyCFunction ) get_active_sound_receiver, METH_FASTCALL, no_doc },
{ "set_active_sound_receiver", ( PyCFunction ) set_active_sound_receiver, METH_FASTCALL, no_doc },
{ "get_active_sound_receiver_explicit_renderer", ( PyCFunction ) get_active_sound_receiver_explicit_renderer, METH_FASTCALL, no_doc },
{ "set_active_sound_receiver_explicit_renderer", ( PyCFunction ) set_active_sound_receiver_explicit_renderer, METH_FASTCALL, no_doc },
{ "get_core_clock", ( PyCFunction ) get_core_clock, METH_FASTCALL, no_doc },
{ "set_core_clock", ( PyCFunction ) set_core_clock, METH_FASTCALL, no_doc },
{ "substitute_macro", ( PyCFunction ) substitute_macro, METH_FASTCALL, no_doc },
{ "find_file_path", ( PyCFunction ) find_file_path, METH_FASTCALL, no_doc },
{ "get_log_level_str", ( PyCFunction ) get_log_level_str, METH_FASTCALL, no_doc },
{ "parse_auralization_mode_str", ( PyCFunction ) parse_auralization_mode_str, METH_FASTCALL, no_doc },
{ "get_auralization_mode_str", ( PyCFunction ) get_auralization_mode_str, METH_FASTCALL, no_doc },
{ "get_volume_str_decibel", ( PyCFunction ) get_volume_str_decibel, METH_FASTCALL, no_doc },
{ "parse_playback_state_str", ( PyCFunction ) parse_playback_state_str, METH_FASTCALL, no_doc },
{ "get_playback_state_str", ( PyCFunction ) get_playback_state_str, METH_FASTCALL, no_doc },
{ "parse_playback_action_str", ( PyCFunction ) parse_playback_action_str, METH_FASTCALL, no_doc },
{ "get_playback_action_str", ( PyCFunction ) get_playback_action_str, METH_FASTCALL, no_doc },
{ NULL, NULL }
};
......@@ -170,7 +158,7 @@ static struct PyModuleDef vamoduledef =
{
PyModuleDef_HEAD_INIT,
"va",
va_module_doc,
module_doc,
-1,
va_methods,
NULL,
......@@ -184,7 +172,7 @@ PyMODINIT_FUNC PyInit_va( void )
PyObject* pModule = PyModule_Create( &vamoduledef );
g_pVAError = PyErr_NewException( "va.error", NULL, NULL );
Py_INCREF( g_pVAError );
//PyAdd
return pModule;
}
#include <Python.h>
PyDoc_STRVAR( va_module_doc,
PyDoc_STRVAR( module_doc,
"connect(server, port) - connect to a VA server at given server and listening port\n"
"disconnect() - disconnect from VA server." );
PyDoc_STRVAR( va_no_doc,
PyDoc_STRVAR( no_doc,
"For this method no dedicated documentation is available. Please read the C++ API documentation\n"
"of this method for further information." );
PyDoc_STRVAR( va_connect_doc,
PyDoc_STRVAR( connect_doc,
"Connect($module, /, server, port)\n"
"--\n"
"\n"
......
......@@ -17,7 +17,7 @@ static PyObject* g_pVAError = nullptr; //!< Static pointer to error instance
#define VAPY_CATCH_RETURN } catch (const CVAException& oError) { PyErr_SetString(PyExc_Exception, oError.ToString().c_str()); return NULL; }
//! Helper for API dev
static PyObject* va_not_implemented( PyObject*, PyObject* )
static PyObject* not_implemented( PyObject*, PyObject* )
{
VA_EXCEPT_NOT_IMPLEMENTED;
};
......@@ -183,7 +183,7 @@ CVAStruct ConvertPythonDictToVAStruct( PyObject* pInDict )
// ------------------------------- Python module extension methods
static PyObject* va_connect( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* connect( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
if( !g_pVANetClient )
g_pVANetClient = IVANetClient::Create();
......@@ -211,7 +211,7 @@ static PyObject* va_connect( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyO
return NULL;
};
static PyObject* va_disconnect( PyObject*, PyObject* )
static PyObject* disconnect( PyObject*, PyObject* )
{
if( !g_pVANetClient )
return PyBool_FromLong( 0 );
......@@ -219,7 +219,7 @@ static PyObject* va_disconnect( PyObject*, PyObject* )
return PyBool_FromLong( g_pVANetClient->Disconnect() );
};
static PyObject* va_is_connected( PyObject*, PyObject* )
static PyObject* is_connected( PyObject*, PyObject* )
{
if( !g_pVANetClient )
return PyBool_FromLong( 0 );
......@@ -227,7 +227,7 @@ static PyObject* va_is_connected( PyObject*, PyObject* )
return PyBool_FromLong( g_pVANetClient->IsConnected() );
};
static PyObject* va_reset( PyObject*, PyObject* )
static PyObject* reset( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
g_pVANetClient->GetCoreInstance()->Reset();
......@@ -236,7 +236,7 @@ static PyObject* va_reset( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_get_modules( PyObject*, PyObject* )
static PyObject* get_modules( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -257,7 +257,7 @@ static PyObject* va_get_modules( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_call_module( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* call_module( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -280,7 +280,7 @@ static PyObject* va_call_module( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_add_search_path( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* add_search_path( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -295,14 +295,14 @@ static PyObject* va_add_search_path( PyObject*, PyObject** ppArgs, Py_ssize_t nA
VAPY_CATCH_RETURN;
};
static PyObject* va_get_update_locked( PyObject*, PyObject* )
static PyObject* get_update_locked( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
return PyLong_FromLong( g_pVANetClient->GetCoreInstance()->GetUpdateLocked() );
VAPY_CATCH_RETURN;
};
static PyObject* va_lock_update( PyObject*, PyObject* )
static PyObject* lock_update( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
g_pVANetClient->GetCoreInstance()->LockUpdate();
......@@ -311,14 +311,14 @@ static PyObject* va_lock_update( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_unlock_update( PyObject*, PyObject* )
static PyObject* unlock_update( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
return PyLong_FromLong( g_pVANetClient->GetCoreInstance()->UnlockUpdate() );
VAPY_CATCH_RETURN;
};
static PyObject* va_create_directivity_from_file( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* create_directivity_from_file( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -335,7 +335,7 @@ static PyObject* va_create_directivity_from_file( PyObject*, PyObject** ppArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_delete_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* delete_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -349,7 +349,7 @@ static PyObject* va_delete_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t
VAPY_CATCH_RETURN;
};
static PyObject* va_get_directivity_info( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_directivity_info( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -373,7 +373,7 @@ static PyObject* va_get_directivity_info( PyObject*, PyObject** ppArgs, Py_ssize
VAPY_CATCH_RETURN;
};
static PyObject* va_get_directivity_infos( PyObject*, PyObject* )
static PyObject* get_directivity_infos( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -399,7 +399,7 @@ static PyObject* va_get_directivity_infos( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_ids( PyObject*, PyObject* )
static PyObject* get_sound_source_ids( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
std::vector< int > viIDs;
......@@ -414,7 +414,7 @@ static PyObject* va_get_sound_source_ids( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_create_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* create_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -431,7 +431,7 @@ static PyObject* va_create_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_
};
static PyObject* va_create_sound_source_explicit_renderer( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* create_sound_source_explicit_renderer( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -449,7 +449,7 @@ static PyObject* va_create_sound_source_explicit_renderer( PyObject*, PyObject**
VAPY_CATCH_RETURN;
};
static PyObject* va_delete_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* delete_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -464,7 +464,7 @@ static PyObject* va_delete_sound_source( PyObject*, PyObject** ppArgs, Py_ssize_
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -481,7 +481,7 @@ static PyObject* va_set_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_s
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -496,7 +496,7 @@ static PyObject* va_get_sound_source_enabled( PyObject*, PyObject** ppArgs, Py_s
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_name( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_name( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -511,7 +511,7 @@ static PyObject* va_get_sound_source_name( PyObject*, PyObject** ppArgs, Py_ssiz
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -526,7 +526,7 @@ static PyObject* va_get_sound_source_signal_source( PyObject*, PyObject** ppArgs
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -545,7 +545,7 @@ static PyObject* va_set_sound_source_signal_source( PyObject*, PyObject** ppArgs
VAPY_CATCH_RETURN;
};
static PyObject* va_remove_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* remove_sound_source_signal_source( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -561,7 +561,7 @@ static PyObject* va_remove_sound_source_signal_source( PyObject*, PyObject** ppA
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_auralization_mode( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_auralization_mode( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -576,7 +576,7 @@ static PyObject* va_get_sound_source_auralization_mode( PyObject*, PyObject** pp
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_auralization_mode( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_auralization_mode( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -593,7 +593,7 @@ static PyObject* va_set_sound_source_auralization_mode( PyObject*, PyObject** pp
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_parameters( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_parameters( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -612,7 +612,7 @@ static PyObject* va_set_sound_source_parameters( PyObject*, PyObject** ppArgs, P
};
static PyObject* va_get_sound_source_parameters( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_parameters( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -630,7 +630,7 @@ static PyObject* va_get_sound_source_parameters( PyObject*, PyObject** ppArgs, P
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -645,7 +645,7 @@ static PyObject* va_get_sound_source_directivity( PyObject*, PyObject** ppArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_directivity( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -662,7 +662,7 @@ static PyObject* va_set_sound_source_directivity( PyObject*, PyObject** ppArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_sound_power( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_sound_power( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -677,7 +677,7 @@ static PyObject* va_get_sound_source_sound_power( PyObject*, PyObject** ppArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_sound_power( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_sound_power( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -694,7 +694,7 @@ static PyObject* va_set_sound_source_sound_power( PyObject*, PyObject** ppArgs,
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -711,7 +711,7 @@ static PyObject* va_set_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssi
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -726,7 +726,7 @@ static PyObject* va_get_sound_source_muted( PyObject*, PyObject** ppArgs, Py_ssi
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_source_position( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_position( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -748,7 +748,7 @@ static PyObject* va_get_sound_source_position( PyObject*, PyObject** ppArgs, Py_
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_position( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_position( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -766,7 +766,7 @@ static PyObject* va_set_sound_source_position( PyObject*, PyObject** ppArgs, Py_
};
static PyObject* va_get_sound_source_orientation_vu( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* get_sound_source_orientation_vu( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -784,7 +784,7 @@ static PyObject* va_get_sound_source_orientation_vu( PyObject*, PyObject** ppArg
VAPY_CATCH_RETURN;
};
static PyObject* va_set_sound_source_orientation_vu( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* set_sound_source_orientation_vu( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -801,7 +801,7 @@ static PyObject* va_set_sound_source_orientation_vu( PyObject*, PyObject** ppArg
VAPY_CATCH_RETURN;
};
static PyObject* va_get_sound_receiver_ids( PyObject*, PyObject* )
static PyObject* get_sound_receiver_ids( PyObject*, PyObject* )
{
VAPY_REQUIRE_CONN_TRY;
std::vector< int > viIDs;
......@@ -816,7 +816,7 @@ static PyObject* va_get_sound_receiver_ids( PyObject*, PyObject* )
VAPY_CATCH_RETURN;
};
static PyObject* va_create_sound_receiver( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* create_sound_receiver( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;
......@@ -832,7 +832,7 @@ static PyObject* va_create_sound_receiver( PyObject*, PyObject** ppArgs, Py_ssiz
VAPY_CATCH_RETURN;
};
static PyObject* va_create_sound_receiver_explicit_renderer( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
static PyObject* create_sound_receiver_explicit_renderer( PyObject*, PyObject** ppArgs, Py_ssize_t nArgs, PyObject* pKeywordNames )
{
VAPY_REQUIRE_CONN_TRY;