Blender V5.3
blender::bSound Struct Reference

#include <DNA_sound_types.h>

Public Attributes

ID id
char filepath [1024] = ""
struct PackedFile * packedfile = nullptr
struct PackedFile * newpackedfile = nullptr
void * _pad0 = nullptr
double offset_time = 0
float volume = 0
float attenuation = 0
float pitch = 0
float min_gain = 0
float max_gain = 0
float distance = 0
int audio_channels = 0
int samplerate = 0
eSound_Flag flags = {}
short stream_index = 0
char _pad1 [4] = {}
bke::SoundRuntime * runtime = nullptr
void * _pad2 = nullptr

Detailed Description

Definition at line 33 of file DNA_sound_types.h.

Member Data Documentation

◆ _pad0

void* blender::bSound::_pad0 = nullptr

Definition at line 55 of file DNA_sound_types.h.

◆ _pad1

char blender::bSound::_pad1[4] = {}

Definition at line 69 of file DNA_sound_types.h.

◆ _pad2

void* blender::bSound::_pad2 = nullptr

Definition at line 72 of file DNA_sound_types.h.

◆ attenuation

float blender::bSound::attenuation = 0

Definition at line 59 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().

◆ audio_channels

int blender::bSound::audio_channels = 0

Definition at line 65 of file DNA_sound_types.h.

◆ distance

float blender::bSound::distance = 0

Definition at line 63 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().

◆ filepath

◆ flags

eSound_Flag blender::bSound::flags = {}

Definition at line 67 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().

◆ id

◆ max_gain

float blender::bSound::max_gain = 0

Definition at line 62 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().

◆ min_gain

float blender::bSound::min_gain = 0

Definition at line 61 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().

◆ newpackedfile

struct PackedFile* blender::bSound::newpackedfile = nullptr

Deprecated; used for loading pre 2.5 files.

Definition at line 54 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_250(), and blender::blo_do_versions_pre250().

◆ offset_time

double blender::bSound::offset_time = 0

Definition at line 57 of file DNA_sound_types.h.

◆ packedfile

◆ pitch

float blender::bSound::pitch = 0

Definition at line 60 of file DNA_sound_types.h.

◆ runtime

◆ samplerate

int blender::bSound::samplerate = 0

Definition at line 66 of file DNA_sound_types.h.

◆ stream_index

short blender::bSound::stream_index = 0

Definition at line 68 of file DNA_sound_types.h.

Referenced by blender::blender::memory_is_zero().

◆ volume

float blender::bSound::volume = 0

Definition at line 58 of file DNA_sound_types.h.

Referenced by blender::blo_do_versions_pre250().


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