17#if defined(WITH_AUDASPACE)
18# include <file/IWriter.h>
21#define SOUND_WAVE_SAMPLES_PER_SECOND 250
107#if defined(WITH_AUDASPACE)
109 const aud::DeviceSpecs &specs,
142 double audio_offset);
231#if defined(WITH_AUDASPACE)
233void sound_system_initialize();
234AUD_Device sound_device_init(
const char *device,
235 const aud::DeviceSpecs &specs,
238void sound_device_exit();
240bool sound_device_read(
AUD_Device device,
unsigned char *buffer,
int length);
243float *sound_read_file_buffer(
const char *
filename,
260 unsigned int buffersize,
262 const aud::DeviceSpecs &specs,
263 aud::Container format,
265 unsigned int bitrate,
267 std::string &r_error,
268 bool (*progress_callback)(
float,
void *),
269 void *progress_data);
std::shared_ptr< void > AUD_Sequence
std::shared_ptr< void > AUD_SequenceEntry
std::shared_ptr< void > AUD_Sound
std::shared_ptr< void > AUD_Handle
std::shared_ptr< void > AUD_Device
float length(VecOp< float, D >) RET
std::string filename(const std::string_view &str, size_t pos)
void BKE_sound_force_device(const char *device)
void BKE_sound_update_scene(Depsgraph *depsgraph, Scene *scene)
@ SOUND_CHANNELS_SURROUND4
@ SOUND_CHANNELS_SURROUND5
@ SOUND_CHANNELS_STEREO_LFE
@ SOUND_CHANNELS_SURROUND51
@ SOUND_CHANNELS_SURROUND61
@ SOUND_CHANNELS_SURROUND71
AUD_Sound BKE_sound_playback_handle_get(const bSound *sound)
void BKE_sound_move_scene_sound_defaults(Scene *scene, Strip *strip)
void BKE_sound_mute_scene_sound(AUD_SequenceEntry handle, bool mute)
void BKE_sound_ensure_scene(Scene *scene)
void BKE_sound_jack_scene_update(Scene *scene, int mode, double time)
void BKE_sound_refresh_callback_bmain(Main *bmain)
bool BKE_sound_stream_info_get(Main *main, const char *filepath, int stream, SoundStreamInfo *sound_info)
void BKE_sound_move_scene_sound(const Scene *scene, AUD_SequenceEntry handle, int startframe, int endframe, int frameskip, double audio_offset)
void BKE_sound_init_once()
void BKE_sound_reset_scene_specs(Scene *scene)
bSound * BKE_sound_new_file_exists(Main *bmain, const char *filepath, short stream_index=0)
bool BKE_sound_info_get(Main *main, bSound *sound, SoundInfo *sound_info)
AUD_SequenceEntry BKE_sound_add_scene_sound(Scene *scene, Strip *strip)
void BKE_sound_set_scene_sound_time_stretch_at_frame(AUD_Sound handle, int frame, float time_stretch, bool animated)
double BKE_sound_sync_scene(Scene *scene)
void BKE_sound_update_scene_listener(Scene *scene)
const Vector< float > * BKE_sound_runtime_get_waveform(const bSound *sound)
void BKE_sound_update_sequencer(Main *main, bSound *sound)
void BKE_sound_runtime_state_set(const bSound *sound, AUD_Sound cache, AUD_Sound playback_handle, Vector< float > *waveform)
void BKE_sound_play_scene(Scene *scene)
void BKE_sound_set_scene_sound_pitch_constant_range(AUD_SequenceEntry handle, int frame_start, int frame_end, float pitch)
int BKE_sound_stream_count(Main *main, const char *filepath)
float BKE_sound_get_length(Main *bmain, bSound *sound)
void(*) SoundJackSyncCallback(Main *bmain, int mode, double time)
void BKE_sound_packfile_ensure(Main *bmain, bSound *sound, ReportList *reports)
void BKE_sound_runtime_state_get_and_clear(const bSound *sound, AUD_Sound *r_cache, AUD_Sound *r_playback_handle, Vector< float > **r_waveform)
void BKE_sound_set_scene_volume(Scene *scene, float volume)
char ** BKE_sound_get_device_names()
bSound * BKE_sound_new_file(Main *bmain, const char *filepath, short stream_index=0)
void BKE_sound_create_scene(Scene *scene)
void BKE_sound_set_scene_sound_time_stretch_constant_range(AUD_Sound handle, int frame_start, int frame_end, float time_stretch)
void BKE_sound_init(Main *bmain)
void BKE_sound_mute_scene(Scene *scene, bool muted)
void BKE_sound_exit_once()
void BKE_sound_update_fps(Main *bmain, Scene *scene)
void BKE_sound_runtime_clear_waveform_loading_tag(bSound *sound)
void BKE_sound_update_scene_sound(AUD_SequenceEntry handle, bSound *sound)
void BKE_sound_destroy_scene(Scene *scene)
void BKE_sound_read_waveform(Main *bmain, bSound *sound, bool *stop)
void BKE_sound_set_scene_sound_pitch_at_frame(AUD_SequenceEntry handle, int frame, float pitch, bool animated)
void BKE_sound_load(Main *bmain, bSound *sound)
void BKE_sound_remove_scene_sound(Scene *scene, AUD_SequenceEntry handle)
void BKE_sound_stop_scene(Scene *scene)
void BKE_sound_seek_scene(Main *bmain, Scene *scene)
AUD_SequenceEntry BKE_sound_scene_add_scene_sound(Scene *scene, Strip *strip)
void BKE_sound_set_scene_sound_volume_at_frame(AUD_SequenceEntry handle, int frame, float volume, bool animated)
AUD_Sound BKE_sound_get_factory(void *sound)
AUD_Sound BKE_sound_ensure_time_stretch_effect(const Strip *strip, float fps)
void BKE_sound_evaluate(Depsgraph *depsgraph, Main *bmain, bSound *sound)
void BKE_sound_jack_sync_callback_set(SoundJackSyncCallback callback)
void BKE_sound_set_scene_sound_pan_at_frame(AUD_SequenceEntry handle, int frame, float pan, bool animated)
void BKE_sound_update_sequence_handle(AUD_SequenceEntry handle, AUD_Sound sound_handle)
bool BKE_sound_runtime_start_waveform_loading(bSound *sound)
struct blender::SoundInfo::@227301210053207103375114031212057322370226174015 specs