Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed Win build

  • Loading branch information...
commit b2474a45b5d639ce22d3252c1105f858e12a8769 1 parent d46c708
mat authored
View
10 include/nuiSynthSound.h
@@ -1,10 +1,8 @@
/*
- * nuiSynthSound.h
- * nui3
- *
- * Created by mat on 1/14/11.
- * Copyright 2011 libNUI. All rights reserved.
- *
+ NUI3 - C++ cross-platform GUI framework for OpenGL based applications
+ Copyright (C) 2002-2003 Sebastien Metrot
+
+ licence: see nui3/LICENCE.TXT
*/
#pragma once
View
10 include/nuiSynthVoice.h
@@ -1,10 +1,8 @@
/*
- * nuiSynthVoice.h
- * nui3
- *
- * Created by mat on 1/14/11.
- * Copyright 2011 libNUI. All rights reserved.
- *
+ NUI3 - C++ cross-platform GUI framework for OpenGL based applications
+ Copyright (C) 2002-2003 Sebastien Metrot
+
+ licence: see nui3/LICENCE.TXT
*/
#pragma once
View
7 nui3_2008.sln
@@ -1,6 +1,7 @@
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nui3", "nui3_2008.vcxproj", "{A287CB70-6835-4961-BEF5-E2DCDBE2CED4}"
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nui3", "nui3_2008.vcproj", "{A287CB70-6835-4961-BEF5-E2DCDBE2CED4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
View
2,038 nui3_2008.vcproj
1,027 additions, 1,011 deletions not shown
View
11 src/AudioEngine/nuiSynthSound.cpp
@@ -1,12 +1,11 @@
/*
- * nuiSynthSound.cpp
- * nui3
- *
- * Created by mat on 1/14/11.
- * Copyright 2011 libNUI. All rights reserved.
- *
+ NUI3 - C++ cross-platform GUI framework for OpenGL based applications
+ Copyright (C) 2002-2003 Sebastien Metrot
+
+ licence: see nui3/LICENCE.TXT
*/
+#include "nui.h"
#include "nuiSynthSound.h"
#include "nuiSynthVoice.h"
View
13 src/AudioEngine/nuiSynthVoice.cpp
@@ -1,12 +1,11 @@
/*
- * nuiSynthVoice.cpp
- * nui3
- *
- * Created by mat on 1/14/11.
- * Copyright 2011 libNUI. All rights reserved.
- *
+ NUI3 - C++ cross-platform GUI framework for OpenGL based applications
+ Copyright (C) 2002-2003 Sebastien Metrot
+
+ licence: see nui3/LICENCE.TXT
*/
+#include "nui.h"
#include "nuiSynthVoice.h"
nuiSynthVoice::nuiSynthVoice(double SampleRate, double releaseTime, nuiSynthSound* pSound)
@@ -24,7 +23,7 @@ nuiSynthVoice::nuiSynthVoice(double SampleRate, double releaseTime, nuiSynthSoun
mWavePosition = mPhase * (float)SYNTH_SOUND_TABLE_SIZE;
mLevel = 1;
- mLevelCoeff = (log(0.001) - log(1)) / (float)mLength;
+ mLevelCoeff = (log(0.001f) - log(1.f)) / (float)mLength;
}
nuiSynthVoice::~nuiSynthVoice()
Please sign in to comment.
Something went wrong with that request. Please try again.