Browse Source

Removed default args from function definitions that caused build to break using gcc-3.x

master
waxfrenzy 22 years ago
parent
commit
eea1c097f2
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      SpiralSound/Plugins/MixerPlugin/MixerPluginGUI.C
  2. +1
    -1
      SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C

+ 2
- 2
SpiralSound/Plugins/MixerPlugin/MixerPluginGUI.C View File

@@ -48,7 +48,7 @@ SpiralPluginGUI(w,h,o,ch)
m_Buttons->add (m_Add);
}

void MixerPluginGUI::AddChan (bool SendData = false, bool ResizeIt = false) {
void MixerPluginGUI::AddChan (bool SendData, bool ResizeIt) {
Fl_Slider *NewSlide = new Fl_Slider (0, 0, 20, 100, "");
NewSlide->type (4);
NewSlide->selection_color (GUI_COLOUR);
@@ -72,7 +72,7 @@ void MixerPluginGUI::AddChan (bool SendData = false, bool ResizeIt = false) {
}
}

void MixerPluginGUI::DeleteChan (bool SendData = true, bool DrawIt = true) {
void MixerPluginGUI::DeleteChan (bool SendData, bool DrawIt) {
vector<Fl_Slider*>::iterator i = m_SlidVec.end ();
i--;
m_MainPack->remove (*i);


+ 1
- 1
SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C View File

@@ -152,7 +152,7 @@ void StreamPluginGUI::cb_Volume (Fl_Knob* o, void* v) {

// pitch

void StreamPluginGUI::UpdatePitch (bool UpdateIt = true, bool DrawIt = true, bool SendIt = true) {
void StreamPluginGUI::UpdatePitch (bool UpdateIt, bool DrawIt, bool SendIt) {
sprintf( PitchLabel, "%1.3f ", m_PitchValue);
m_Pitch->label (PitchLabel);
if (UpdateIt) m_Pitch->value (m_PitchValue+10);


Loading…
Cancel
Save