[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31481] trunk/blender/intern/audaspace/ intern/AUD_C-API.cpp: Fixing [#23370] problem when running game engine

Joerg Mueller nexyon at gmail.com
Fri Aug 20 13:57:48 CEST 2010


Revision: 31481
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31481
Author:   nexyon
Date:     2010-08-20 13:57:46 +0200 (Fri, 20 Aug 2010)

Log Message:
-----------
Fixing [#23370] problem when running game engine

Modified Paths:
--------------
    trunk/blender/intern/audaspace/intern/AUD_C-API.cpp

Modified: trunk/blender/intern/audaspace/intern/AUD_C-API.cpp
===================================================================
--- trunk/blender/intern/audaspace/intern/AUD_C-API.cpp	2010-08-20 11:31:55 UTC (rev 31480)
+++ trunk/blender/intern/audaspace/intern/AUD_C-API.cpp	2010-08-20 11:57:46 UTC (rev 31481)
@@ -525,7 +525,6 @@
 int AUD_setSourceLocation(AUD_Channel* handle, const float* location)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -539,7 +538,6 @@
 int AUD_setSourceVelocity(AUD_Channel* handle, const float* velocity)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -553,7 +551,6 @@
 int AUD_setSourceOrientation(AUD_Channel* handle, const float* orientation)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -567,7 +564,6 @@
 int AUD_setRelative(AUD_Channel* handle, int relative)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -580,7 +576,6 @@
 int AUD_setVolumeMaximum(AUD_Channel* handle, float volume)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -593,7 +588,6 @@
 int AUD_setVolumeMinimum(AUD_Channel* handle, float volume)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -606,7 +600,6 @@
 int AUD_setDistanceMaximum(AUD_Channel* handle, float distance)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -619,7 +612,6 @@
 int AUD_setDistanceReference(AUD_Channel* handle, float distance)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -632,7 +624,6 @@
 int AUD_setAttenuation(AUD_Channel* handle, float factor)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -645,7 +636,6 @@
 int AUD_setConeAngleOuter(AUD_Channel* handle, float angle)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -658,7 +648,6 @@
 int AUD_setConeAngleInner(AUD_Channel* handle, float angle)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{
@@ -671,7 +660,6 @@
 int AUD_setConeVolumeOuter(AUD_Channel* handle, float volume)
 {
 	assert(AUD_device);
-	assert(handle);
 
 	if(AUD_3ddevice)
 	{





More information about the Bf-blender-cvs mailing list