Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1040:f866da587845 | 1041:a8e4435f65f2 |
|---|---|
| 62 | 62 |
| 63 if(aProps.mFrequency == 11025) | 63 if(aProps.mFrequency == 11025) |
| 64 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp11"), TRUE); | 64 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp11"), TRUE); |
| 65 else if (aProps.mFrequency == 22050) | 65 else if (aProps.mFrequency == 22050) |
| 66 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp22"), TRUE); | 66 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp22"), TRUE); |
| 67 else if (aProps.mFrequency == 48000) | |
| 68 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp48"), TRUE); | |
| 67 else | 69 else |
| 68 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp44"), TRUE); | 70 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "samp44"), TRUE); |
| 69 | 71 |
| 70 if(aProps.mChannels == 1) | 72 if(aProps.mChannels == 1) |
| 71 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "mono"), TRUE); | 73 gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "mono"), TRUE); |
