summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SoundD3D.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/SoundD3D.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/SoundD3D.cpp')
-rw-r--r--Stars45/SoundD3D.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/Stars45/SoundD3D.cpp b/Stars45/SoundD3D.cpp
index 812164d..617c8d3 100644
--- a/Stars45/SoundD3D.cpp
+++ b/Stars45/SoundD3D.cpp
@@ -18,7 +18,6 @@
#include <dsound.h>
-#include "MemDebug.h"
#include "SoundD3D.h"
#include "Game.h"
#include "Utils.h"
@@ -258,7 +257,7 @@ SoundCardD3D::CreateSound(DWORD flags, LPWAVEFORMATEX format)
{
if (!soundcard) return 0;
- Sound* result = new(__FILE__,__LINE__) SoundD3D(soundcard, flags, format);
+ Sound* result = new SoundD3D(soundcard, flags, format);
if (result) AddSound(result);
return result;
}
@@ -269,7 +268,7 @@ Sound*
SoundCardD3D::CreateSound(DWORD flags, LPWAVEFORMATEX format, DWORD len, LPBYTE data)
{
if (!soundcard) return 0;
- Sound* result = new(__FILE__,__LINE__) SoundD3D(soundcard, flags, format, len, data);
+ Sound* result = new SoundD3D(soundcard, flags, format, len, data);
if (flags & (Sound::STREAMED | Sound::OGGVORBIS)) {
if (result)
@@ -436,7 +435,7 @@ ov_file(0)
else {
data_len = len;
- data = new(__FILE__,__LINE__) BYTE[len];
+ data = new BYTE[len];
if (!data) {
data_len = 0;
@@ -863,7 +862,7 @@ SoundD3D::StreamFile(const char* name, DWORD offset)
// preload the buffer:
w = r = 0;
- transfer = new(__FILE__,__LINE__) BYTE[read_size + 1024];
+ transfer = new BYTE[read_size + 1024];
if (!transfer) {
hr = E_FAIL;
@@ -918,7 +917,7 @@ SoundD3D::StreamOggFile()
// preload the buffer:
w = r = 0;
- transfer = new(__FILE__,__LINE__) BYTE[read_size + 1024];
+ transfer = new BYTE[read_size + 1024];
if (!transfer) {
hr = E_FAIL;