GUI support for libsndfile mp3 support
This commit is contained in:
parent
5ff1f28af8
commit
15e1b8f675
@ -1113,6 +1113,7 @@ ExportFormatDialog::change_encoding_options (ExportFormatPtr ptr)
|
||||
boost::shared_ptr<ARDOUR::ExportFormatOggVorbis> ogg_ptr;
|
||||
boost::shared_ptr<ARDOUR::ExportFormatFLAC> flac_ptr;
|
||||
boost::shared_ptr<ARDOUR::ExportFormatBWF> bwf_ptr;
|
||||
boost::shared_ptr<ARDOUR::ExportFormatMPEG> mpeg_ptr;
|
||||
boost::shared_ptr<ARDOUR::ExportFormatFFMPEG> ffmpeg_ptr;
|
||||
|
||||
if ((linear_ptr = boost::dynamic_pointer_cast<ExportFormatLinear> (ptr))) {
|
||||
@ -1123,6 +1124,8 @@ ExportFormatDialog::change_encoding_options (ExportFormatPtr ptr)
|
||||
show_flac_enconding_options (flac_ptr);
|
||||
} else if ((bwf_ptr = boost::dynamic_pointer_cast<ExportFormatBWF> (ptr))) {
|
||||
show_bwf_enconding_options (bwf_ptr);
|
||||
} else if ((mpeg_ptr = boost::dynamic_pointer_cast<ExportFormatMPEG> (ptr))) {
|
||||
show_mpeg_enconding_options (mpeg_ptr);
|
||||
} else if ((ffmpeg_ptr = boost::dynamic_pointer_cast<ExportFormatFFMPEG> (ptr))) {
|
||||
show_ffmpeg_enconding_options (ffmpeg_ptr);
|
||||
} else {
|
||||
@ -1205,6 +1208,17 @@ ExportFormatDialog::show_bwf_enconding_options (boost::shared_ptr<ARDOUR::Export
|
||||
show_all_children ();
|
||||
}
|
||||
|
||||
void
|
||||
ExportFormatDialog::show_mpeg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatMPEG> ptr)
|
||||
{
|
||||
encoding_options_label.set_label (_("Variable bit rate quality"));
|
||||
encoding_options_table.resize (1, 1);
|
||||
encoding_options_table.attach (codec_quality_combo, 0, 1, 0, 1);
|
||||
fill_codec_quality_lists (ptr);
|
||||
|
||||
show_all_children ();
|
||||
}
|
||||
|
||||
void
|
||||
ExportFormatDialog::show_ffmpeg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatFFMPEG> ptr)
|
||||
{
|
||||
|
@ -168,6 +168,7 @@ private:
|
||||
void show_ogg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatOggVorbis> ptr);
|
||||
void show_flac_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatFLAC> ptr);
|
||||
void show_bwf_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatBWF> ptr);
|
||||
void show_mpeg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatMPEG> ptr);
|
||||
void show_ffmpeg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatFFMPEG> ptr);
|
||||
|
||||
void fill_sample_format_lists (boost::shared_ptr<ARDOUR::HasSampleFormat> ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user