Blender V5.3
BKE_sound.hh File Reference
#include <string>
#include "BKE_sound_types.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Classes

struct  blender::SoundInfo
struct  blender::SoundStreamInfo

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SOUND_WAVE_SAMPLES_PER_SECOND   250

Typedefs

typedef void(*) blender::SoundJackSyncCallback(Main *bmain, int mode, double time)

Enumerations

enum  blender::eSoundChannels {
  blender::SOUND_CHANNELS_INVALID = 0 , blender::SOUND_CHANNELS_MONO = 1 , blender::SOUND_CHANNELS_STEREO = 2 , blender::SOUND_CHANNELS_STEREO_LFE = 3 ,
  blender::SOUND_CHANNELS_SURROUND4 = 4 , blender::SOUND_CHANNELS_SURROUND5 = 5 , blender::SOUND_CHANNELS_SURROUND51 = 6 , blender::SOUND_CHANNELS_SURROUND61 = 7 ,
  blender::SOUND_CHANNELS_SURROUND71 = 8
}

Functions

void blender::BKE_sound_init_once ()
void blender::BKE_sound_exit_once ()
void blender::BKE_sound_init (Main *bmain)
void blender::BKE_sound_refresh_callback_bmain (Main *bmain)
void blender::BKE_sound_force_device (const char *device)
bSound * blender::BKE_sound_new_file_exists (Main *bmain, const char *filepath, short stream_index=0)
bSound * blender::BKE_sound_new_file (Main *bmain, const char *filepath, short stream_index=0)
void blender::BKE_sound_load (Main *bmain, bSound *sound)
void blender::BKE_sound_packfile_ensure (Main *bmain, bSound *sound, ReportList *reports)
bool blender::BKE_sound_info_get (Main *main, bSound *sound, SoundInfo *sound_info)
bool blender::BKE_sound_stream_info_get (Main *main, const char *filepath, int stream, SoundStreamInfo *sound_info)
int blender::BKE_sound_stream_count (Main *main, const char *filepath)
void blender::BKE_sound_create_scene (Scene *scene)
void blender::BKE_sound_ensure_scene (Scene *scene)
void blender::BKE_sound_destroy_scene (Scene *scene)
void blender::BKE_sound_lock ()
void blender::BKE_sound_unlock ()
void blender::BKE_sound_reset_scene_specs (Scene *scene)
void blender::BKE_sound_mute_scene (Scene *scene, bool muted)
void blender::BKE_sound_update_fps (Main *bmain, Scene *scene)
void blender::BKE_sound_update_scene_listener (Scene *scene)
AUD_SequenceEntry blender::BKE_sound_scene_add_scene_sound (Scene *scene, Strip *strip)
AUD_SequenceEntry blender::BKE_sound_add_scene_sound (Scene *scene, Strip *strip)
void blender::BKE_sound_remove_scene_sound (Scene *scene, AUD_SequenceEntry handle)
void blender::BKE_sound_mute_scene_sound (AUD_SequenceEntry handle, bool mute)
void blender::BKE_sound_move_scene_sound (const Scene *scene, AUD_SequenceEntry handle, int startframe, int endframe, int frameskip, double audio_offset)
void blender::BKE_sound_move_scene_sound_defaults (Scene *scene, Strip *strip)
void blender::BKE_sound_update_scene_sound (AUD_SequenceEntry handle, bSound *sound)
void blender::BKE_sound_update_sequence_handle (AUD_SequenceEntry handle, AUD_Sound sound_handle)
void blender::BKE_sound_set_scene_volume (Scene *scene, float volume)
void blender::BKE_sound_set_scene_sound_volume_at_frame (AUD_SequenceEntry handle, int frame, float volume, bool animated)
void blender::BKE_sound_set_scene_sound_pitch_at_frame (AUD_SequenceEntry handle, int frame, float pitch, bool animated)
void blender::BKE_sound_set_scene_sound_pitch_constant_range (AUD_SequenceEntry handle, int frame_start, int frame_end, float pitch)
void blender::BKE_sound_set_scene_sound_time_stretch_at_frame (AUD_Sound handle, int frame, float time_stretch, bool animated)
void blender::BKE_sound_set_scene_sound_time_stretch_constant_range (AUD_Sound handle, int frame_start, int frame_end, float time_stretch)
void blender::BKE_sound_set_scene_sound_pan_at_frame (AUD_SequenceEntry handle, int frame, float pan, bool animated)
void blender::BKE_sound_update_sequencer (Main *main, bSound *sound)
void blender::BKE_sound_play_scene (Scene *scene)
void blender::BKE_sound_stop_scene (Scene *scene)
void blender::BKE_sound_seek_scene (Main *bmain, Scene *scene)
double blender::BKE_sound_sync_scene (Scene *scene)
void blender::BKE_sound_read_waveform (Main *bmain, bSound *sound, bool *stop)
void blender::BKE_sound_update_scene (Depsgraph *depsgraph, Scene *scene)
AUD_Sound blender::BKE_sound_get_factory (void *sound)
float blender::BKE_sound_get_length (Main *bmain, bSound *sound)
char ** blender::BKE_sound_get_device_names ()
void blender::BKE_sound_jack_sync_callback_set (SoundJackSyncCallback callback)
void blender::BKE_sound_jack_scene_update (Scene *scene, int mode, double time)
void blender::BKE_sound_evaluate (Depsgraph *depsgraph, Main *bmain, bSound *sound)
AUD_Sound blender::BKE_sound_ensure_time_stretch_effect (const Strip *strip, float fps)
void blender::BKE_sound_runtime_state_get_and_clear (const bSound *sound, AUD_Sound *r_cache, AUD_Sound *r_playback_handle, Vector< float > **r_waveform)
void blender::BKE_sound_runtime_state_set (const bSound *sound, AUD_Sound cache, AUD_Sound playback_handle, Vector< float > *waveform)
AUD_Sound blender::BKE_sound_playback_handle_get (const bSound *sound)
void blender::BKE_sound_runtime_clear_waveform_loading_tag (bSound *sound)
bool blender::BKE_sound_runtime_start_waveform_loading (bSound *sound)
const Vector< float > * blender::BKE_sound_runtime_get_waveform (const bSound *sound)

Macro Definition Documentation

◆ SOUND_WAVE_SAMPLES_PER_SECOND

#define SOUND_WAVE_SAMPLES_PER_SECOND   250

Definition at line 21 of file BKE_sound.hh.

Referenced by blender::ed::vse::draw_seq_waveform_overlay().