Blender V4.3
bSound Struct Reference

#include <DNA_sound_types.h>

Public Attributes

ID id
 
char filepath [1024]
 
struct PackedFilepackedfile
 
void * handle
 
struct PackedFilenewpackedfile
 
struct Ipoipo
 
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
 

Detailed Description

Definition at line 16 of file DNA_sound_types.h.

Member Data Documentation

◆ _pad

char bSound::_pad[4]

Definition at line 50 of file DNA_sound_types.h.

◆ attenuation

float bSound::attenuation

Definition at line 42 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ audio_channels

int bSound::audio_channels

Definition at line 79 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ cache

◆ distance

float bSound::distance

Definition at line 46 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ filepath

◆ flags

short bSound::flags

Definition at line 47 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250(), and sound_blend_read_data().

◆ handle

void* bSound::handle

The handle for audaspace.

Definition at line 33 of file DNA_sound_types.h.

Referenced by sound_blend_read_data(), sound_blend_write(), sound_copy_data(), and sound_free_audio().

◆ id

◆ ipo

struct Ipo* bSound::ipo

Definition at line 39 of file DNA_sound_types.h.

Referenced by sound_copy_data(), and sound_foreach_id().

◆ max_gain

float bSound::max_gain

Definition at line 45 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ min_gain

float bSound::min_gain

Definition at line 44 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ newpackedfile

struct PackedFile* bSound::newpackedfile

Deprecated; used for loading pre 2.5 files.

Definition at line 38 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250(), sound_blend_read_data(), and sound_copy_data().

◆ offset_time

double bSound::offset_time

◆ packedfile

◆ pitch

float bSound::pitch

Definition at line 43 of file DNA_sound_types.h.

◆ playback_handle

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 71 of file DNA_sound_types.h.

Referenced by BKE_sound_reset_runtime(), blender::deg::SoundBackup::init_from_sound(), blender::deg::SoundBackup::restore_to_sound(), seq_update_sound_modifiers(), sound_blend_read_data(), sound_blend_write(), sound_copy_data(), and sound_free_audio().

◆ samplerate

int bSound::samplerate

Definition at line 81 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ spinlock

void* bSound::spinlock

◆ tags

short bSound::tags

Runtime only, always reset in readfile.

Definition at line 49 of file DNA_sound_types.h.

Referenced by clear_sound_waveform_loading_tag(), sound_blend_read_data(), sound_blend_write(), and waveform_job_start_if_needed().

◆ volume

float bSound::volume

Definition at line 41 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ waveform


The documentation for this struct was generated from the following file: