![]() |
The audio export options.
Example:
Public Member Functions | |
ExportAudioSettings (QString i_file_path="", int i_start_frame=1, int i_end_frame=-1, bool i_stereo=true, int i_audio_channel_size=16, int i_audio_sample_rate=22050, bool mergeSoundtrack=true) | |
The default constructor, with all parameters optional. More... | |
Public Attributes | |
bool | stereo |
True if the exported file contains the left and right sound channels. True by default. More... | |
int | audio_channel_size |
The sound channel bit rate (either 8 or 16 bits per second). 16 by default. More... | |
int | audio_sample_rate |
The audio sample rate. 22050 by default. More... | |
bool | merge_soundtrack |
Whether to merge all audio tracks into one exported audio file (true), or export each audio track separately (false). Supported when exporting only the audio tracks with ExportAudioSettings. More... | |
QString | file_path |
The complete file path to the generated file. More... | |
int | start_frame |
The first frame to be exported. 1 by default. More... | |
int | end_frame |
The last frame to be exported. The last frame of the scene by default. More... | |
OMH::ExportAudioSettings::ExportAudioSettings | ( | QString | i_file_path = "" , |
int | i_start_frame = 1 , |
||
int | i_end_frame = -1 , |
||
bool | i_stereo = true , |
||
int | i_audio_channel_size = 16 , |
||
int | i_audio_sample_rate = 22050 , |
||
bool | mergeSoundtrack = true |
||
) |
The default constructor, with all parameters optional.
int OMH::ExportAudioSettings::audio_channel_size |
The sound channel bit rate (either 8 or 16 bits per second). 16
by default.
int OMH::ExportAudioSettings::audio_sample_rate |
The audio sample rate. 22050
by default.
|
inherited |
The last frame to be exported. The last frame of the scene by default.
|
inherited |
The complete file path to the generated file.
bool OMH::ExportAudioSettings::merge_soundtrack |
Whether to merge all audio tracks into one exported audio file (true), or export each audio track separately (false). Supported when exporting only the audio tracks with ExportAudioSettings.
|
inherited |
The first frame to be exported. 1
by default.
bool OMH::ExportAudioSettings::stereo |
True if the exported file contains the left and right sound channels. True
by default.