- Sound Operators Repository
- Sound Strip SEQ_sound.h
- Sequencer channels SEQ_channels.h
- Blender Kernel BKE_sound.h
💬 Diff VSE
- 📂 extern/audaspace/
- 📄 AUD_Device.cpp 💬 Notes:
- 📄 AUD_Sequence.h
- 📄 AUD_Sequence.cpp
- 📂 config/
- 📂 include/
- 📂 fx/
- 📂 sequence/
- 📂 util/
- 📂 src/
- 📂 fx/
- 📂 sequence/
- 📂 util/
- 📂 releae/scripts/startup/bl_ui/
- 📂 source/blender/
- 📂 blenkernel/
- 📄 BKE_sound.h
- 📂 intern/
- 📄 sound.c
- 📂 editors/space_sequencer/
- 📂 makesdna/
- 📂 makesdna/intern/
- 📂 sequencer/
- 📄 SEQ_sequencer.h
- 📄 SEQ_sound.h
- 📂 intern/
- 📄 sequencer.c
- 📄 sound.c
- 📂 intern/
- 📂 blenkernel/
struct Main;
struct Scene;
struct Sequence;
struct bSound;
void SEQ_sound_update_bounds_all(struct Scene *scene);
void SEQ_sound_update_bounds(struct Scene *scene, struct Sequence *seq);
void SEQ_sound_update(struct Scene *scene, struct bSound *sound);
void SEQ_sound_update_length(struct Main *bmain, struct Scene *scene);
struct Editing;
struct ListBase;
struct Scene;
struct SeqTimelineChannel;
struct Sequence;
struct ListBase *SEQ_channels_displayed_get(struct Editing *ed);
void SEQ_channels_displayed_set(struct Editing *ed, struct ListBase *channels);
void SEQ_channels_ensure(struct ListBase *channels);
void SEQ_channels_duplicate(struct ListBase *channels_dst, struct ListBase *channels_src);
void SEQ_channels_free(struct ListBase *channels);
struct SeqTimelineChannel *SEQ_channel_get_by_index(const struct ListBase *channels,
const int channel_index);
char *SEQ_channel_name_get(struct ListBase *channels, const int channel_index);
bool SEQ_channel_is_locked(const struct SeqTimelineChannel *channel);
bool SEQ_channel_is_muted(const struct SeqTimelineChannel *channel);
int SEQ_channel_index_get(const struct SeqTimelineChannel *channel);
ListBase *SEQ_get_channels_by_seq(struct ListBase *seqbase, const struct Sequence *seq);
/* Matches AUD_Channels. */
typedef enum eSoundChannels {
SOUND_CHANNELS_INVALID = 0,
SOUND_CHANNELS_MONO = 1,
SOUND_CHANNELS_STEREO = 2,
SOUND_CHANNELS_STEREO_LFE = 3, // Not exposed in GUI
SOUND_CHANNELS_SURROUND4 = 4,
SOUND_CHANNELS_SURROUND5 = 5,
SOUND_CHANNELS_SURROUND51 = 6, // Mono sub out ?
SOUND_CHANNELS_SURROUND61 = 7, // Not exposed in GUI
SOUND_CHANNELS_SURROUND71 = 8,
} eSoundChannels;
/* Get information about given sound. Returns truth on success., false if sound can not be loaded
* or if the codes is not supported. */
bool BKE_sound_info_get(struct Main *main, struct bSound *sound, SoundInfo *sound_info);
/* Get information about given sound. Returns truth on success., false if sound can not be loaded
* or if the codes is not supported. */
bool BKE_sound_stream_info_get(struct Main *main,
const char *filepath,
int stream,
SoundStreamInfo *sound_info);
#if defined(WITH_AUDASPACE)
AUD_Device *BKE_sound_mixdown(const struct Scene *scene,
AUD_DeviceSpecs specs,
int start,
float volume);
#endif
in Specification.h (Audaspace)
enum Channels
{
CHANNELS_INVALID = 0,
CHANNELS_MONO = 1,
CHANNELS_STEREO = 2,
CHANNELS_STEREO_LFE = 3,
CHANNELS_SURROUND4 = 4,
CHANNELS_SURROUND5 = 5,
CHANNELS_SURROUND51 = 6,
CHANNELS_SURROUND61 = 7,
CHANNELS_SURROUND71 = 8
};
enum Channel { CHANNEL_FRONT_LEFT = 0, CHANNEL_FRONT_RIGHT, CHANNEL_FRONT_CENTER, CHANNEL_LFE, CHANNEL_REAR_LEFT, CHANNEL_REAR_RIGHT, CHANNEL_REAR_CENTER, CHANNEL_SIDE_LEFT, CHANNEL_SIDE_RIGHT, CHANNEL_MAX };