Blender  V3.3
Public Attributes | List of all members
bSound Struct Reference

#include <DNA_sound_types.h>

Public Attributes

ID id
 
char filepath [1024]
 
struct PackedFilepackedfile
 
voidhandle
 
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
 
voidcache
 
voidwaveform
 
voidplayback_handle
 
voidspinlock
 
int audio_channels
 
int samplerate
 

Detailed Description

Definition at line 19 of file DNA_sound_types.h.

Member Data Documentation

◆ _pad

char bSound::_pad[4]

Definition at line 53 of file DNA_sound_types.h.

◆ attenuation

float bSound::attenuation

Definition at line 45 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ audio_channels

int bSound::audio_channels

Definition at line 82 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ cache

void* bSound::cache

◆ distance

float bSound::distance

Definition at line 49 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ filepath

char bSound::filepath[1024]

◆ flags

short bSound::flags

Definition at line 50 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 36 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 48 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ min_gain

float bSound::min_gain

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

◆ offset_time

double bSound::offset_time

◆ packedfile

struct PackedFile* bSound::packedfile

◆ pitch

float bSound::pitch

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

◆ samplerate

int bSound::samplerate

Definition at line 84 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ spinlock

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().

◆ tags

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().

◆ volume

float bSound::volume

Definition at line 44 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: