mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
34 lines
698 B
C++
Executable file
34 lines
698 B
C++
Executable file
struct AudioSlider : HorizontalLayout {
|
|
Label name;
|
|
Label value;
|
|
HorizontalSlider slider;
|
|
|
|
unsigned base;
|
|
unsigned step;
|
|
|
|
unsigned position();
|
|
void setPosition(unsigned position);
|
|
AudioSlider();
|
|
};
|
|
|
|
struct AudioSettings : SettingsLayout {
|
|
Label title;
|
|
Label outputLabel;
|
|
HorizontalLayout outputLayout;
|
|
Label frequencyLabel;
|
|
ComboBox frequencySelection;
|
|
Label latencyLabel;
|
|
ComboBox latencySelection;
|
|
Label resamplerLabel;
|
|
ComboBox resamplerSelection;
|
|
AudioSlider volume;
|
|
Label frequencyAdjustmentLabel;
|
|
AudioSlider nes;
|
|
AudioSlider snes;
|
|
AudioSlider gameBoy;
|
|
|
|
void synchronize();
|
|
AudioSettings();
|
|
};
|
|
|
|
extern AudioSettings *audioSettings;
|