Blender V5.0
bSound Struct Reference

#include <DNA_sound_types.h>

Public Attributes

ID id
void * _pad1
char filepath [1024]
struct PackedFilepackedfile
void * handle
struct PackedFilenewpackedfile
void * _pad0
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 15 of file DNA_sound_types.h.

Member Data Documentation

◆ _pad

char bSound::_pad[4]

Definition at line 55 of file DNA_sound_types.h.

◆ _pad0

void* bSound::_pad0

Definition at line 44 of file DNA_sound_types.h.

◆ _pad1

void* bSound::_pad1

Definition at line 23 of file DNA_sound_types.h.

◆ attenuation

float bSound::attenuation

Definition at line 47 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ audio_channels

int bSound::audio_channels

Definition at line 84 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ cache

◆ distance

float bSound::distance

Definition at line 51 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ filepath

◆ flags

short bSound::flags

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

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

◆ id

◆ max_gain

float bSound::max_gain

Definition at line 50 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ min_gain

float bSound::min_gain

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

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

◆ offset_time

◆ packedfile

◆ pitch

float bSound::pitch

Definition at line 48 of file DNA_sound_types.h.

◆ playback_handle

void* bSound::playback_handle

◆ samplerate

int bSound::samplerate

Definition at line 86 of file DNA_sound_types.h.

Referenced by BKE_sound_new_file().

◆ spinlock

◆ tags

short bSound::tags

◆ volume

float bSound::volume

Definition at line 46 of file DNA_sound_types.h.

Referenced by blo_do_versions_pre250().

◆ waveform


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