|
Blender V4.3
|
#include <cstddef>#include <cstdio>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_sound_types.h"#include "DNA_space_types.h"#include "DNA_userdef_types.h"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_global.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_packedFile.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "BKE_sound.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_prototypes.hh"#include "SEQ_iterator.hh"#include "UI_interface.hh"#include "WM_api.hh"#include "WM_types.hh"#include "DEG_depsgraph_query.hh"#include "ED_sound.hh"#include "ED_util.hh"Go to the source code of this file.
| void ED_operatortypes_sound | ( | ) |
Definition at line 914 of file sound_ops.cc.
References SOUND_OT_bake_animation(), SOUND_OT_mixdown(), SOUND_OT_open(), SOUND_OT_open_mono(), SOUND_OT_pack(), SOUND_OT_unpack(), SOUND_OT_update_animation_flags(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
|
static |
Definition at line 291 of file sound_ops.cc.
References BKE_scene_camera_switch_update(), BKE_scene_graph_update_for_newframe(), CTX_data_depsgraph_pointer(), CTX_data_scene(), depsgraph, OPERATOR_FINISHED, and sound_update_animation_flags_exec().
Referenced by sound_mixdown_exec(), and SOUND_OT_bake_animation().
|
static |
Definition at line 331 of file sound_ops.cc.
References BKE_main_blendfile_path(), BKE_report(), BKE_sound_reset_scene_specs(), BLI_path_abs(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), DEG_get_evaluated_scene(), depsgraph, double(), RenderData::efra, FILE_MAX, RenderData::frs_sec, RenderData::frs_sec_base, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, wmOperator::reports, result, RNA_boolean_get(), RNA_enum_get(), RNA_int_get(), RNA_string_get(), RPT_ERROR, RenderData::sfra, sound_bake_animation_exec(), Scene::sound_scene, and split().
Referenced by sound_mixdown_invoke(), and SOUND_OT_mixdown().
|
static |
Definition at line 489 of file sound_ops.cc.
References wmOperator::ptr, RNA_struct_property_is_set(), sound_mixdown_exec(), and WM_operator_filesel().
Referenced by SOUND_OT_mixdown().
|
static |
Definition at line 58 of file sound_ops.cc.
References wmOperator::customdata, and MEM_freeN().
Referenced by SOUND_OT_open(), and SOUND_OT_open_mono().
|
static |
Definition at line 117 of file sound_ops.cc.
References BKE_report(), OPERATOR_CANCELLED, wmOperator::reports, and RPT_ERROR.
Referenced by sound_open_invoke(), SOUND_OT_open(), and SOUND_OT_open_mono().
|
static |
Definition at line 64 of file sound_ops.cc.
References wmOperator::customdata, MEM_callocN, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, and UI_context_active_but_prop_get_templateID().
Referenced by sound_open_invoke().
|
static |
Definition at line 126 of file sound_ops.cc.
References wmOperator::ptr, RNA_struct_property_is_set(), sound_open_exec(), sound_open_init(), and WM_operator_filesel().
Referenced by SOUND_OT_open(), and SOUND_OT_open_mono().
|
static |
Definition at line 315 of file sound_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and sound_bake_animation_exec().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 665 of file sound_ops.cc.
References wmOperatorType::check, wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_SOUND, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_int(), sound_mixdown_exec(), sound_mixdown_invoke(), wmOperatorType::srna, wmOperatorType::ui, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 137 of file sound_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), sound_open_cancel(), sound_open_exec(), sound_open_invoke(), wmOperatorType::srna, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 164 of file sound_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), sound_open_cancel(), sound_open_exec(), sound_open_invoke(), wmOperatorType::srna, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 803 of file sound_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sound_pack_exec(), and sound_poll().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 889 of file sound_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PF_USE_LOCAL, wmOperatorType::poll, RNA_def_enum(), RNA_def_string(), rna_enum_unpack_method_items, sound_poll(), sound_unpack_exec(), sound_unpack_invoke(), and wmOperatorType::srna.
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 268 of file sound_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and sound_update_animation_flags_exec().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 779 of file sound_ops.cc.
References Editing::act_seq, BKE_packedfile_new(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update_ex(), Scene::ed, bSound::filepath, bSound::id, ID_BLEND_PATH, ID_RECALC_AUDIO, OPERATOR_CANCELLED, OPERATOR_FINISHED, bSound::packedfile, wmOperator::reports, SEQ_TYPE_SOUND_RAM, Sequence::sound, and Sequence::type.
Referenced by SOUND_OT_pack().
|
static |
Definition at line 767 of file sound_ops.cc.
References Editing::act_seq, CTX_data_scene(), Scene::ed, SEQ_TYPE_SOUND_RAM, and Sequence::type.
Referenced by SOUND_OT_pack(), and SOUND_OT_unpack().
|
static |
Definition at line 820 of file sound_ops.cc.
References BKE_packedfile_unpack_sound(), BKE_report(), BLI_findstring(), CTX_data_main(), G, G_FILE_AUTOPACK, bSound::id, ID_IS_EDITABLE, MAX_ID_NAME, offsetof, OPERATOR_CANCELLED, OPERATOR_FINISHED, bSound::packedfile, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_string_get(), RNA_struct_property_is_set(), RPT_ERROR, RPT_WARNING, and Main::sounds.
Referenced by SOUND_OT_unpack(), and sound_unpack_invoke().
|
static |
Definition at line 853 of file sound_ops.cc.
References Editing::act_seq, BKE_report(), CTX_data_scene(), Scene::ed, bSound::filepath, G, G_FILE_AUTOPACK, bSound::id, ID_IS_EDITABLE, ID::name, OPERATOR_CANCELLED, OPERATOR_FINISHED, bSound::packedfile, wmOperator::ptr, wmOperator::reports, RNA_struct_property_is_set(), RPT_ERROR, RPT_WARNING, SEQ_TYPE_SOUND_RAM, Sequence::sound, sound_unpack_exec(), Sequence::type, and unpack_menu().
Referenced by SOUND_OT_unpack().
|
static |
Definition at line 235 of file sound_ops.cc.
References AUDIO_VOLUME_ANIMATED, id_data_find_fcurve(), ID_TAG_DOIT, SEQ_for_each_callback(), and sound_update_animation_flags_fn().
Referenced by sound_update_animation_flags_exec(), and sound_update_animation_flags_fn().
|
static |
Definition at line 258 of file sound_ops.cc.
References BKE_main_id_tag_idcode(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, ID_SCE, ID_TAG_DOIT, OPERATOR_FINISHED, and sound_update_animation_flags().
Referenced by sound_bake_animation_exec(), and SOUND_OT_update_animation_flags().
|
static |
Definition at line 195 of file sound_ops.cc.
References Sequence::flag, id_data_find_fcurve(), Sequence::scene, SEQ_AUDIO_PAN_ANIMATED, SEQ_AUDIO_PITCH_ANIMATED, SEQ_AUDIO_VOLUME_ANIMATED, SEQ_TYPE_SCENE, sound_update_animation_flags(), and Sequence::type.
Referenced by sound_update_animation_flags().