Blender  V2.93
Public Attributes | List of all members
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
 

Detailed Description

Definition at line 35 of file DNA_sound_types.h.

Member Data Documentation

◆ _pad

char bSound::_pad[4]

Definition at line 69 of file DNA_sound_types.h.

◆ attenuation

float bSound::attenuation

Definition at line 61 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ cache

void* bSound::cache

◆ distance

float bSound::distance

Definition at line 65 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ filepath

char bSound::filepath[1024]

◆ flags

short bSound::flags

Definition at line 66 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 52 of file DNA_sound_types.h.

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

◆ id

ID bSound::id

◆ ipo

struct Ipo* bSound::ipo

◆ max_gain

float bSound::max_gain

Definition at line 64 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ min_gain

float bSound::min_gain

Definition at line 63 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 57 of file DNA_sound_types.h.

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

◆ offset_time

double bSound::offset_time

◆ packedfile

struct PackedFile* bSound::packedfile

◆ pitch

float bSound::pitch

Definition at line 62 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 90 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().

◆ spinlock

void* bSound::spinlock

Spin-lock for asynchronous loading of sounds.

Definition at line 93 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file(), draw_seq_waveform_overlay(), preview_startjob(), sound_blend_read_data(), sound_blend_write(), sound_copy_data(), and sound_free_data().

◆ tags

short bSound::tags

Runtime only, always reset in readfile.

Definition at line 68 of file DNA_sound_types.h.

Referenced by draw_seq_waveform_overlay(), preview_startjob(), sound_blend_read_data(), and sound_blend_write().

◆ volume

float bSound::volume

Definition at line 60 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ waveform

void* bSound::waveform

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