Mercurial > audlegacy
diff Plugins/Input/modplug/gui/main.cpp @ 1041:a8e4435f65f2 trunk
[svn] 48kHz sampling rate selection for ModPlug by Christian Birchinger (Joker) from Gentoo.
| author | chainsaw |
|---|---|
| date | Sun, 14 May 2006 08:38:23 -0700 |
| parents | 5ef13028e42d |
| children |
line wrap: on
line diff
--- a/Plugins/Input/modplug/gui/main.cpp Sun May 14 01:20:40 2006 -0700 +++ b/Plugins/Input/modplug/gui/main.cpp Sun May 14 08:38:23 2006 -0700 @@ -64,6 +64,8 @@ gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp11"), TRUE); else if (aProps.mFrequency == 22050) gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp22"), TRUE); + else if (aProps.mFrequency == 48000) + gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp48"), TRUE); else gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp44"), TRUE);
