Blender
V3.3
|
#include <DNA_sound_types.h>
Public Attributes | |
ID | id |
char | filepath [1024] |
struct PackedFile * | packedfile |
void * | handle |
struct PackedFile * | newpackedfile |
struct Ipo * | ipo |
float | volume |
float | attenuation |
float | pitch |
float | min_gain |
float | max_gain |
float | distance |
short | flags |
short | tags |
char | _pad [4] |
double | offset_time |
void * | cache |
void * | waveform |
void * | playback_handle |
void * | spinlock |
int | audio_channels |
int | samplerate |
Definition at line 19 of file DNA_sound_types.h.
char bSound::_pad[4] |
Definition at line 53 of file DNA_sound_types.h.
float bSound::attenuation |
Definition at line 45 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250().
int bSound::audio_channels |
Definition at line 82 of file DNA_sound_types.h.
Referenced by BKE_sound_new_file().
void* bSound::cache |
The audaspace handle for cache.
Definition at line 63 of file DNA_sound_types.h.
Referenced by BKE_sound_ensure_loaded(), BKE_sound_reset_runtime(), blender::deg::SoundBackup::init_from_sound(), blender::deg::SoundBackup::restore_to_sound(), sound_blend_read_data(), sound_copy_data(), and sound_free_audio().
float bSound::distance |
Definition at line 49 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250().
char bSound::filepath[1024] |
The path to the sound file. 1024 = FILE_MAX.
Definition at line 26 of file DNA_sound_types.h.
Referenced by BKE_packedfile_pack_all(), BKE_sound_new_file(), BKE_sound_new_file_exists_ex(), draw_seq_text_get_source(), get_drag_path(), sequencer_change_path_exec(), sequencer_drop_copy(), sound_foreach_path(), sound_pack_exec(), and sound_unpack_invoke().
short bSound::flags |
Definition at line 50 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250(), and sound_blend_read_data().
void* bSound::handle |
The handle for audaspace.
Definition at line 36 of file DNA_sound_types.h.
Referenced by sound_blend_read_data(), sound_blend_write(), sound_copy_data(), and sound_free_audio().
ID bSound::id |
Definition at line 20 of file DNA_sound_types.h.
Referenced by BKE_packedfile_count_all(), BKE_packedfile_pack_all(), BKE_packedfile_unpack_all(), BKE_sound_evaluate(), BKE_sound_new_file_exists_ex(), blo_do_versions_250(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_sound(), blender::deg::DepsgraphRelationBuilder::build_sound(), blender::deg::DepsgraphRelationBuilder::build_speaker(), blender::deg::seq_build_prop_cb(), seq_update_seq_cb(), sound_blend_read_lib(), sound_blend_write(), sound_pack_exec(), and sound_unpack_invoke().
struct Ipo* bSound::ipo |
Definition at line 42 of file DNA_sound_types.h.
Referenced by sound_blend_read_expand(), sound_blend_read_lib(), and sound_copy_data().
float bSound::max_gain |
Definition at line 48 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250().
float bSound::min_gain |
Definition at line 47 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250().
struct PackedFile* bSound::newpackedfile |
Deprecated; used for loading pre 2.5 files.
Definition at line 41 of file DNA_sound_types.h.
Referenced by blo_do_versions_250(), blo_do_versions_pre250(), sound_blend_read_data(), and sound_copy_data().
double bSound::offset_time |
Definition at line 54 of file DNA_sound_types.h.
Referenced by draw_seq_waveform_overlay(), and seq_update_sound_bounds_recursive_impl().
struct PackedFile* bSound::packedfile |
The packed file.
Definition at line 31 of file DNA_sound_types.h.
Referenced by BKE_packedfile_count_all(), BKE_packedfile_id_check(), BKE_packedfile_id_unpack(), BKE_packedfile_pack_all(), BKE_packedfile_unpack_all(), blo_do_versions_250(), blo_do_versions_pre250(), sound_blend_read_data(), sound_blend_write(), sound_copy_data(), sound_foreach_path(), sound_free_data(), sound_pack_exec(), sound_unpack_exec(), and sound_unpack_invoke().
float bSound::pitch |
Definition at line 46 of file DNA_sound_types.h.
void* bSound::playback_handle |
The audaspace handle that should actually be played back. Should be cache if cache != NULL; otherwise its handle
Definition at line 74 of file DNA_sound_types.h.
Referenced by BKE_sound_reset_runtime(), blender::deg::SoundBackup::init_from_sound(), blender::deg::SoundBackup::restore_to_sound(), sound_blend_read_data(), sound_blend_write(), sound_copy_data(), and sound_free_audio().
int bSound::samplerate |
Definition at line 84 of file DNA_sound_types.h.
Referenced by BKE_sound_new_file().
void* bSound::spinlock |
Spin-lock for asynchronous loading of sounds.
Definition at line 77 of file DNA_sound_types.h.
Referenced by BKE_sound_new_file(), preview_startjob(), sound_blend_read_data(), sound_blend_write(), sound_copy_data(), sound_free_data(), and waveform_job_start_if_needed().
short bSound::tags |
Runtime only, always reset in readfile.
Definition at line 52 of file DNA_sound_types.h.
Referenced by preview_startjob(), sound_blend_read_data(), sound_blend_write(), and waveform_job_start_if_needed().
float bSound::volume |
Definition at line 44 of file DNA_sound_types.h.
Referenced by blo_do_versions_pre250().
void* bSound::waveform |
Waveform display data.
Definition at line 68 of file DNA_sound_types.h.
Referenced by draw_seq_waveform_overlay(), blender::deg::SoundBackup::init_from_sound(), blender::deg::SoundBackup::restore_to_sound(), sound_copy_data(), sound_foreach_cache(), and waveform_job_start_if_needed().