Skip to content

Commit

Permalink
Added const
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWin committed Jan 2, 2015
1 parent 93b6888 commit 44f72b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/export_project_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ ProjectRenderer* exportProjectDialog::prepRender()
static_cast<Mixer::qualitySettings::Interpolation>(interpolationCB->currentIndex()),
static_cast<Mixer::qualitySettings::Oversampling>(oversamplingCB->currentIndex()) );

int samplerates[5] = { 44100, 48000, 88200, 96000, 192000 };
int bitrates[6] = { 64, 128, 160, 192, 256, 320 };
const int samplerates[5] = { 44100, 48000, 88200, 96000, 192000 };
const int bitrates[6] = { 64, 128, 160, 192, 256, 320 };

ProjectRenderer::OutputSettings os = ProjectRenderer::OutputSettings(
samplerates[ samplerateCB->currentIndex() ],
Expand Down

0 comments on commit 44f72b0

Please sign in to comment.