Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing a compilation error caused by improper use of alDeleteBuffer()

  • Loading branch information...
commit abca0f28d60864d4da9f3b06832e0b3e2076ae52 1 parent 7fa8ec3
Ramprasad Madhavan authored
View
5 .gitignore
@@ -0,0 +1,5 @@
+.metadata/*
+*.DS_Store
+*.o
+HelloOpenAL/arm/*
+HelloOpenAL/x86/*
View
1  HelloOpenAL/.cproject
@@ -220,4 +220,5 @@
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
</scannerConfigBuildInfo>
</storageModule>
+ <storageModule moduleId="refreshScope"/>
</cproject>
View
2  HelloOpenAL/arm/Makefile
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o.le-v7/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
# Command: /Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/usr/bin/qmake -spec /Developer/SDKs/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ CONFIG+=device -o Makefile ../HelloOpenAL.pro
View
2  HelloOpenAL/arm/Makefile.Debug
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o.le-v7-g/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
#############################################################################
View
2  HelloOpenAL/arm/Makefile.Release
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o.le-v7/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
#############################################################################
View
6 HelloOpenAL/src/soundmanager.cpp
@@ -101,7 +101,7 @@ SoundManager::SoundManager(QString soundDirectory)
if (fread(header, 1, 12, file) != 12)
{
qDebug() << "Invalid header for audio file " << path;
- alDeleteBuffers(1, mSoundBuffers[fileInfo.fileName()]);
+ alDeleteBuffers(1, &mSoundBuffers[fileInfo.fileName()]);
goto cleanup;
}
@@ -111,7 +111,7 @@ SoundManager::SoundManager(QString soundDirectory)
if (!loadWav(file, mSoundBuffers[fileInfo.fileName()]))
{
qDebug() << "Invalid wav file: " << path;
- alDeleteBuffers(1, mSoundBuffers[fileInfo.fileName()]);
+ alDeleteBuffers(1, &mSoundBuffers[fileInfo.fileName()]);
goto cleanup;
}
}
@@ -120,7 +120,7 @@ SoundManager::SoundManager(QString soundDirectory)
if (!loadOgg(file, mSoundBuffers[fileInfo.fileName()]))
{
qDebug() << "Invalid ogg file: " << path;
- alDeleteBuffers(1, mSoundBuffers[fileInfo.fileName()]);
+ alDeleteBuffers(1, &mSoundBuffers[fileInfo.fileName()]);
goto cleanup;
}
}
View
2  HelloOpenAL/x86/Makefile
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
# Command: /Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/usr/bin/qmake -spec /Developer/SDKs/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-x86-g++ CONFIG+=simulator -o Makefile ../HelloOpenAL.pro
View
2  HelloOpenAL/x86/Makefile.Debug
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o-g/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
#############################################################################
View
2  HelloOpenAL/x86/Makefile.Release
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: o/cowbell
-# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 14:29:37 2012
+# Generated by qmake (2.01a) (Qt 4.8.0) on: Mon Jun 25 21:30:22 2012
# Project: ../HelloOpenAL.pro
# Template: app
#############################################################################
Please sign in to comment.
Something went wrong with that request. Please try again.