Blender  V2.59
Functions
BKE_sound.h File Reference

Go to the source code of this file.

Functions

void sound_init_once (void)
void sound_init (struct Main *main)
void sound_exit (void)
void sound_force_device (int device)
int sound_define_from_str (const char *str)
struct bSoundsound_new_file (struct Main *main, const char *filename)
void sound_delete (struct bContext *C, struct bSound *sound)
void sound_cache (struct bSound *sound, int ignore)
void sound_delete_cache (struct bSound *sound)
void sound_load (struct Main *main, struct bSound *sound)
void sound_free (struct bSound *sound)
void sound_create_scene (struct Scene *scene)
void sound_destroy_scene (struct Scene *scene)
void sound_mute_scene (struct Scene *scene, int muted)
void * sound_scene_add_scene_sound (struct Scene *scene, struct Sequence *sequence, int startframe, int endframe, int frameskip)
void * sound_add_scene_sound (struct Scene *scene, struct Sequence *sequence, int startframe, int endframe, int frameskip)
void sound_remove_scene_sound (struct Scene *scene, void *handle)
void sound_mute_scene_sound (struct Scene *scene, void *handle, char mute)
void sound_move_scene_sound (struct Scene *scene, void *handle, int startframe, int endframe, int frameskip)
void sound_play_scene (struct Scene *scene)
void sound_stop_scene (struct Scene *scene)
void sound_seek_scene (struct bContext *C)
float sound_sync_scene (struct Scene *scene)
int sound_scene_playing (struct Scene *scene)
int sound_read_sound_buffer (struct bSound *sound, float *buffer, int length, float start, float end)
int sound_get_channels (struct bSound *sound)

Detailed Description

Since:
March 2001
Author:
nzc

Definition in file BKE_sound.h.


Function Documentation

void* sound_add_scene_sound ( struct Scene scene,
struct Sequence sequence,
int  startframe,
int  endframe,
int  frameskip 
)
void sound_cache ( struct bSound sound,
int  ignore 
)

Referenced by lib_link_sound(), and seq_load_apply().

void sound_create_scene ( struct Scene scene)
int sound_define_from_str ( const char *  str)

Referenced by set_audio().

void sound_delete ( struct bContext C,
struct bSound sound 
)
void sound_delete_cache ( struct bSound sound)
void sound_destroy_scene ( struct Scene scene)

Referenced by free_scene().

void sound_exit ( void  )

Definition at line 522 of file sound.c.

Referenced by GPG_Application::exitEngine(), GPG_Application::initEngine(), and WM_exit().

void sound_force_device ( int  device)

Referenced by no_audio(), and set_audio().

void sound_free ( struct bSound sound)
int sound_get_channels ( struct bSound sound)
void sound_init ( struct Main main)
void sound_init_once ( void  )

Definition at line 520 of file sound.c.

Referenced by main().

void sound_load ( struct Main main,
struct bSound sound 
)
void sound_move_scene_sound ( struct Scene scene,
void *  handle,
int  startframe,
int  endframe,
int  frameskip 
)
void sound_mute_scene ( struct Scene scene,
int  muted 
)
void sound_mute_scene_sound ( struct Scene scene,
void *  handle,
char  mute 
)
struct bSound* sound_new_file ( struct Main bmain,
const char *  filename 
) [read]

sound.c (mar-2001 nzc)

Id:
sound.c 38369 2011-07-13 17:24:33Z campbellbarton

Definition at line 39 of file sound.c.

References alloc_libblock(), BLI_path_abs(), BLI_strncpy(), FILE_MAX, free_libblock(), G, ID_SO, Global::main, bSound::name, Main::name, NULL, bSound::playback_handle, Main::sound, sound_load(), and str.

Referenced by do_versions().

void sound_play_scene ( struct Scene scene)
int sound_read_sound_buffer ( struct bSound sound,
float *  buffer,
int  length,
float  start,
float  end 
)

Referenced by drawseqwave().

void sound_remove_scene_sound ( struct Scene scene,
void *  handle 
)
void* sound_scene_add_scene_sound ( struct Scene scene,
struct Sequence sequence,
int  startframe,
int  endframe,
int  frameskip 
)
int sound_scene_playing ( struct Scene scene)

Referenced by wm_event_do_handlers().

void sound_seek_scene ( struct bContext C)
void sound_stop_scene ( struct Scene scene)
float sound_sync_scene ( struct Scene scene)