|
Blender V5.0
|
#include <cstddef>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_path_utils.hh"#include "BLI_string.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 "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_global.hh"#include "BKE_lib_id.hh"#include "BKE_library.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 "SEQ_sequencer.hh"#include "UI_interface.hh"#include "UI_interface_layout.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 925 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 293 of file sound_ops.cc.
References BKE_scene_camera_switch_update(), BKE_scene_graph_update_for_newframe(), C, RenderData::cfra, CTX_data_depsgraph_pointer(), CTX_data_scene(), depsgraph, OPERATOR_FINISHED, Scene::r, RenderData::sfra, and sound_update_animation_flags_exec().
Referenced by sound_mixdown_exec(), and SOUND_OT_bake_animation().
|
static |
Definition at line 333 of file sound_ops.cc.
References BKE_main_blendfile_path(), BKE_report(), BKE_sound_reset_scene_specs(), BLI_path_abs(), C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), DEG_get_evaluated_scene(), depsgraph, 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 493 of file sound_ops.cc.
References C, wmOperator::ptr, RNA_struct_property_is_set(), sound_mixdown_exec(), and WM_operator_filesel().
Referenced by SOUND_OT_mixdown().
|
static |
Definition at line 61 of file sound_ops.cc.
References wmOperator::customdata.
Referenced by SOUND_OT_open(), and SOUND_OT_open_mono().
|
static |
Definition at line 119 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 67 of file sound_ops.cc.
References C, wmOperator::customdata, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, and UI_context_active_but_prop_get_templateID().
Referenced by sound_open_invoke().
|
static |
Definition at line 128 of file sound_ops.cc.
References C, 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 317 of file sound_ops.cc.
References OPTYPE_REGISTER, ot, and sound_bake_animation_exec().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 676 of file sound_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_SOUND, OPTYPE_REGISTER, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_int(), sound_mixdown_exec(), sound_mixdown_invoke(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 139 of file sound_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), sound_open_cancel(), sound_open_exec(), sound_open_invoke(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 166 of file sound_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), sound_open_cancel(), sound_open_exec(), sound_open_invoke(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 814 of file sound_ops.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, sound_pack_exec(), and sound_poll().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 900 of file sound_ops.cc.
References MAX_ID_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PF_USE_LOCAL, RNA_def_enum(), RNA_def_string(), rna_enum_unpack_method_items, sound_poll(), sound_unpack_exec(), and sound_unpack_invoke().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 270 of file sound_ops.cc.
References OPTYPE_REGISTER, ot, and sound_update_animation_flags_exec().
Referenced by ED_operatortypes_sound().
|
static |
Definition at line 790 of file sound_ops.cc.
References Editing::act_strip, BKE_packedfile_new(), C, CTX_data_main(), CTX_data_sequencer_scene(), DEG_id_tag_update_ex(), blender::seq::editing_get(), bSound::filepath, bSound::id, ID_BLEND_PATH, ID_RECALC_AUDIO, OPERATOR_CANCELLED, OPERATOR_FINISHED, bSound::packedfile, wmOperator::reports, Strip::sound, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by SOUND_OT_pack().
|
static |
Definition at line 778 of file sound_ops.cc.
References Editing::act_strip, C, CTX_data_sequencer_scene(), blender::seq::editing_get(), STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by SOUND_OT_pack(), and SOUND_OT_unpack().
|
static |
Definition at line 831 of file sound_ops.cc.
References BKE_packedfile_unpack_sound(), BKE_report(), BLI_findstring(), C, CTX_data_main(), G, G_FILE_AUTOPACK, bSound::id, ID_IS_EDITABLE, MAX_ID_NAME, 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 864 of file sound_ops.cc.
References Editing::act_strip, BKE_report(), C, CTX_data_sequencer_scene(), blender::seq::editing_get(), 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, Strip::sound, sound_unpack_exec(), STRIP_TYPE_SOUND_RAM, Strip::type, and unpack_menu().
Referenced by SOUND_OT_unpack().
|
static |
Definition at line 237 of file sound_ops.cc.
References Scene::audio, AUDIO_VOLUME_ANIMATED, Scene::ed, AudioData::flag, blender::seq::foreach_strip(), Scene::id, id_data_find_fcurve(), ID_TAG_DOIT, Editing::seqbase, sound_update_animation_flags_fn(), and ID::tag.
Referenced by sound_update_animation_flags_exec(), and sound_update_animation_flags_fn().
|
static |
Definition at line 260 of file sound_ops.cc.
References BKE_main_id_tag_idcode(), C, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), Scene::id, 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 197 of file sound_ops.cc.
References Strip::flag, Scene::id, id_data_find_fcurve(), Strip::scene, SEQ_AUDIO_PAN_ANIMATED, SEQ_AUDIO_PITCH_ANIMATED, SEQ_AUDIO_VOLUME_ANIMATED, sound_update_animation_flags(), STRIP_TYPE_SCENE, and Strip::type.
Referenced by sound_update_animation_flags().