Skip to content

Commit

Permalink
Merge pull request hydrogen-music#787 from theGreatWhiteShark/autoDri…
Browse files Browse the repository at this point in the history
…verSelection

display choice of auto driver
  • Loading branch information
jeremyz authored Feb 17, 2020
2 parents e9a1892 + d13cc42 commit e7cd2a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/gui/src/PreferencesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,14 @@ void PreferencesDialog::updateDriverInfo()
#endif

if ( driverComboBox->currentText() == "Auto" ) {
info += tr("<b>Automatic driver selection</b>");

info += tr("Automatic driver selection");

// Display the selected driver as well.
if ( H2Core::Hydrogen::get_instance()->getAudioOutput() != nullptr ) {
info += tr("<br><b>")+
H2Core::Hydrogen::get_instance()->getAudioOutput()->class_name()+
tr("</b> selected");
}
m_pAudioDeviceTxt->setEnabled(false);
m_pAudioDeviceTxt->setText( "" );
bufferSizeSpinBox->setEnabled( false );
Expand Down

0 comments on commit e7cd2a4

Please sign in to comment.