diff --git a/fscomm/mainwindow.cpp b/fscomm/mainwindow.cpp index c9d42022b4..54143da947 100644 --- a/fscomm/mainwindow.cpp +++ b/fscomm/mainwindow.cpp @@ -297,6 +297,7 @@ void MainWindow::fshostReady() tr("Portaudio could not be loaded. Please check if mod_portaudio is properly compiled."), QMessageBox::Ok); } + } void MainWindow::paAnswer() diff --git a/fscomm/preferences/prefdialog.ui b/fscomm/preferences/prefdialog.ui index c60edf1856..4b0bfbec94 100644 --- a/fscomm/preferences/prefdialog.ui +++ b/fscomm/preferences/prefdialog.ui @@ -201,7 +201,7 @@ - 0 + 2 @@ -525,6 +525,16 @@ + + + + Codecs + + + + + + diff --git a/fscomm/preferences/prefsofia.cpp b/fscomm/preferences/prefsofia.cpp index 0cfb1c24d2..3642b3a34e 100644 --- a/fscomm/preferences/prefsofia.cpp +++ b/fscomm/preferences/prefsofia.cpp @@ -68,6 +68,15 @@ void PrefSofia::readConfig() settings.endGroup(); settings.endGroup(); + /* This is here to show the proper codec config! */ + const switch_codec_implementation_t *codecs[SWITCH_MAX_CODECS]; + uint32_t num_codecs = switch_loadable_module_get_codecs(codecs, sizeof(codecs) / sizeof(codecs[0])); + uint32_t x; + + for (x = 0; x < num_codecs; x++) { + _ui->listAvailableCodecs->addItem(codecs[x]->iananame); + } + } void PrefSofia::writeConfig()