|
Blender
V2.59
|
#include <string.h>#include <stdlib.h>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_packedFile_types.h"#include "DNA_screen_types.h"#include "DNA_sound_types.h"#include "BKE_utildefines.h"#include "BKE_global.h"#include "BKE_main.h"#include "BKE_sound.h"#include "BKE_context.h"#include "BKE_library.h"#include "BKE_packedFile.h"#include "BKE_fcurve.h"#include "BKE_animsys.h"#include "BLI_utildefines.h"Go to the source code of this file.
Functions | |
| struct bSound * | sound_new_file (struct Main *bmain, const char *filename) |
| void | sound_free (struct bSound *sound) |
| int | sound_define_from_str (const char *UNUSED(str)) |
| void | sound_force_device (int UNUSED(device)) |
| void | sound_init_once (void) |
| void | sound_init (struct Main *UNUSED(bmain)) |
| void | sound_exit (void) |
| void | sound_cache (struct bSound *UNUSED(sound), int UNUSED(ignore)) |
| void | sound_delete_cache (struct bSound *UNUSED(sound)) |
| void | sound_load (struct Main *UNUSED(bmain), struct bSound *UNUSED(sound)) |
| void | sound_create_scene (struct Scene *UNUSED(scene)) |
| void | sound_destroy_scene (struct Scene *UNUSED(scene)) |
| void | sound_mute_scene (struct Scene *UNUSED(scene), int UNUSED(muted)) |
| void * | sound_scene_add_scene_sound (struct Scene *UNUSED(scene), struct Sequence *UNUSED(sequence), int UNUSED(startframe), int UNUSED(endframe), int UNUSED(frameskip)) |
| void * | sound_add_scene_sound (struct Scene *UNUSED(scene), struct Sequence *UNUSED(sequence), int UNUSED(startframe), int UNUSED(endframe), int UNUSED(frameskip)) |
| void | sound_remove_scene_sound (struct Scene *UNUSED(scene), void *UNUSED(handle)) |
| void | sound_mute_scene_sound (struct Scene *UNUSED(scene), void *UNUSED(handle), char UNUSED(mute)) |
| void | sound_move_scene_sound (struct Scene *UNUSED(scene), void *UNUSED(handle), int UNUSED(startframe), int UNUSED(endframe), int UNUSED(frameskip)) |
| static void | sound_start_play_scene (struct Scene *UNUSED(scene)) |
| void | sound_play_scene (struct Scene *UNUSED(scene)) |
| void | sound_stop_scene (struct Scene *UNUSED(scene)) |
| void | sound_seek_scene (struct bContext *UNUSED(C)) |
| float | sound_sync_scene (struct Scene *UNUSED(scene)) |
| int | sound_scene_playing (struct Scene *UNUSED(scene)) |
| int | sound_read_sound_buffer (struct bSound *UNUSED(sound), float *UNUSED(buffer), int UNUSED(length), float UNUSED(start), float UNUSED(end)) |
| int | sound_get_channels (struct bSound *UNUSED(sound)) |
Definition in file sound.c.
| void sound_cache | ( | struct bSound * | UNUSEDsound, |
| int | UNUSEDignore | ||
| ) |
| 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_free | ( | struct bSound * | sound | ) |
Definition at line 73 of file sound.c.
References AUD_unload(), freePackedFile(), bSound::handle, NULL, bSound::packedfile, and bSound::playback_handle.
Referenced by ED_spacetype_sound(), and free_libblock().
| void sound_move_scene_sound | ( | struct Scene * | UNUSEDscene, |
| void * | UNUSEDhandle, | ||
| int | UNUSEDstartframe, | ||
| int | UNUSEDendframe, | ||
| int | UNUSEDframeskip | ||
| ) |
| void sound_mute_scene | ( | struct Scene * | UNUSEDscene, |
| int | UNUSEDmuted | ||
| ) |
| void sound_mute_scene_sound | ( | struct Scene * | UNUSEDscene, |
| void * | UNUSEDhandle, | ||
| char | UNUSEDmute | ||
| ) |
sound.c (mar-2001 nzc)
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().
| int sound_read_sound_buffer | ( | struct bSound * | UNUSEDsound, |
| float * | UNUSEDbuffer, | ||
| int | UNUSEDlength, | ||
| float | UNUSEDstart, | ||
| float | UNUSEDend | ||
| ) |
| void sound_remove_scene_sound | ( | struct Scene * | UNUSEDscene, |
| void * | UNUSEDhandle | ||
| ) |
| static void sound_start_play_scene | ( | struct Scene * | UNUSEDscene | ) | [static] |